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(({}).hasOwnProperty.call(proxy, 'foo'), false); michael@0: assertEq(({}).hasOwnProperty.call(proxy, 'bar'), true);