+ 1
Is it possible to have undefined array?
3 Antworten
+ 6
Yes, as ~swim~ said 😁
You can also have anonymous array (with no name)
for(var i: new int[]{2,8,6,9})
System.out.println(i);
+ 2
Yes of course, in Javascript you can have array that contains undefined (undefined array)
ar = [, , ,];
for(let x of ar)
console.log(x);