我正在运行这段简单的代码:
var handler = {
get(target, prop, proxy) {
console.log('get', prop);
return target[prop];
}
};
var proxy = new Proxy({}, handler);
console.log('the proxy is', proxy);

在Firefox上[夜间46]我得到了预期的输出:
the proxy is Object { }
但是,在Google Chrome [canary 49]上,会记录一些奇怪的内容:
the proxy is undefined {}
get splice
get splice
get __proto__
知道这里发生了什么吗?