Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testTypeofHole.js
blob: 9538dd79cfe1946bdf0d1d568ce3394fef1519a7 [
file
] [
log
] [
blame
]
function
testTypeofHole
()
{
var
a
=
new
Array
(
6
);
a
[
5
]
=
3
;
for
(
var
i
=
0
;
i
<
6
;
++
i
)
a
[
i
]
=
typeof
a
[
i
];
return
a
.
join
(
","
);
}
assertEq
(
testTypeofHole
(),
"undefined,undefined,undefined,undefined,undefined,number"
);