michael@0: // Return the trap result michael@0: var proxy = new Proxy(Object.create(Object.create(null, { michael@0: 'foo': { michael@0: configurable: true michael@0: } michael@0: }), { michael@0: 'bar': { michael@0: configurable: true michael@0: } michael@0: }), { michael@0: has: function (target, name) { michael@0: return false; michael@0: } michael@0: }); michael@0: assertEq('foo' in proxy, false); michael@0: assertEq('bar' in proxy, false);