Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
for-of
/
array-holes-6.js
blob: 2b4703fbce1a3d75c61bfccf9be1043d31fa7b10 [
file
] [
log
] [
blame
]
// for-of visits each hole in an array full of holes.
var
n
=
0
;
for
(
var
x of
Array
(
5
))
{
assertEq
(
x
,
undefined
);
n
++;
}
assertEq
(
n
,
5
);