Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
genexpr-1.js
blob: edac127239e89d9f7ebc226acca9315b5d348801 [
file
] [
log
] [
blame
]
// No 'arguments' binding in genexprs at toplevel.
load
(
libdir
+
"asserts.js"
);
delete
this
.
arguments
;
// it is defined in the shell
var
iter
=
(
arguments
for
(
x of
[
1
]));
assertThrowsInstanceOf
(()
=>
iter
.
next
(),
ReferenceError
);