1 2 3 4 5
// 'this' in a toplevel arrow is the global object. var f = () => this; assertEq(f(), this); assertEq({f: f}.f(), this);