blob: aca33bcfd1a06d0bff812f9b1f45a7a5e611c8e0 (
plain)
1
2
3
4
5
6
7
8
|
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");
|