Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
arguments-2.js
blob: d6ad23ce8cfd0b11c2edff54daec20de7c62a02d [
file
] [
log
] [
blame
]
// 'arguments' is lexically scoped in arrow functions
var
args
,
g
;
function
f
()
{
g
=
()
=>
arguments
;
args
=
arguments
;
}
f
();
assertEq
(
g
(),
args
);