comparison: js/src/jit-test/tests/arrow-functions/this-4.js
js/src/jit-test/tests/arrow-functions/this-4.js
- branch
- TOR_BUG_9701
- changeset 13
- 44a2da4a2ab2
equal
deleted
inserted
replaced
| |
1 // 'this' in a toplevel arrow is the global object. |
| |
2 |
| |
3 var f = () => this; |
| |
4 assertEq(f(), this); |
| |
5 assertEq({f: f}.f(), this); |