Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
newArrayTest.js
blob: aca33bcfd1a06d0bff812f9b1f45a7a5e611c8e0 [
file
] [
log
] [
blame
]
function
newArrayTest
()
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
10
;
i
++)
a
[
i
]
=
new
Array
();
return
a
.
map
(
x
=>
x
.
length
).
toString
();
}
assertEq
(
newArrayTest
(),
"0,0,0,0,0,0,0,0,0,0"
);