docs: function createProxy(parentState, base, key) {
        if (isProxy(base)) throw new Error("Immer bug. Plz report.");
        var state = createState(parentState, base, key);
        var proxy = Array.isArray(base) ? Proxy.revocable([state], arrayTraps) : Proxy.revocable(state, objectTraps);
        proxies.push(proxy);
        return proxy.proxy;
    }