Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug770952.js
blob: 2a6efeeb7a8c92bcb965435fd5da8431725ac80f [
file
] [
log
] [
blame
]
// |jit-test| error: TypeError
load
(
libdir
+
"iteration.js"
);
eval
(
"var x; typeof x"
)
Array
.
prototype
[
Symbol
.
iterator
]
=
function
()
{
for
(
y in x
);
};
for
(
var
v of
[
'a'
,
'b'
,
'c'
,
'd'
])
s
=
v
;