Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
genexpr-5.js
blob: 7dc74091e58251f3dcda05a05a6a5093ad15196f [
file
] [
log
] [
blame
]
// 'arguments' binding can be closed over and outlives the function activation.
function
f
()
{
return
(
arguments
for
(
x of
[
1
]));
}
var
args
=
f
(
"ponies"
).
next
();
assertEq
(
args
[
0
],
"ponies"
);