Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
array-holes-5.js
blob: 3f70ed123b5c5a5bf2de32775a3dc87fa2d47b3b [
file
] [
log
] [
blame
]
// for-of does not skip trailing holes; the value is undefined.
var
log
=
""
;
for
(
var
x of
[
1
,
2
,
3
,,])
log
+=
x
;
assertEq
(
log
,
"123undefined"
);