BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / arrow_functions_this_unchanged_by_call_or_apply.js
1 function test() {
2
3 var d = { x : "foo", y : function() { return () => this.x; }};
4 var e = { x : "bar" };
5 return d.y().call(e) === "foo" && d.y().apply(e) === "foo";
6       
7 }
8
9 if (!test())
10     throw new Error("Test failed");
11