Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
arrays-slow-1.js
blob: cab5a49a096c5f991f6822fd293458ae4ebbd020 [
file
] [
log
] [
blame
]
// for-of works on slow arrays.
var
a
=
[
'a'
,
'b'
,
'c'
];
a
.
slow
=
true
;
var
log
=
''
;
for
(
var
x of a
)
log
+=
x
;
assertEq
(
log
,
'abc'
);