BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / Proxy_get_handler_instances_of_proxies.js
1 function test() {
2
3 var proxied = { };
4 var proxy = Object.create(new Proxy(proxied, {
5   get: function (t, k, r) {
6     return t === proxied && k === "foo" && r === proxy && 5;
7   }
8 }));
9 return proxy.foo === 5;
10       
11 }
12
13 if (!test())
14     throw new Error("Test failed");
15