Debian Codegraph @

js/src/jit-test/tests/arrow-functions/this-4.js

raw
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);