michael@0: // Forward to the target if the trap is not defined michael@0: var proxy = 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: assertEq('foo' in proxy, true); michael@0: assertEq('bar' in proxy, true); michael@0: assertEq('baz' in proxy, false);