Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
this-4.js
blob: 0379ef86e5b4831b87998408f48e47abc53bb47c [
file
] [
log
] [
blame
]
// 'this' in a toplevel arrow is the global object.
var
f
=
()
=>
this
;
assertEq
(
f
(),
this
);
assertEq
({
f
:
f
}.
f
(),
this
);