when functions return multidimensional arrays (arrays are all num), but the result is num?
function show(){
return [1,2][1,2];
}
function show1(){
return [0,1,2][1,2];
}
function show2(){
return [0,1,2,3,4,5,6,7,8,9,10,11,12][[0,1,2,[5,9,8,6][2,1,5,0],4,6][1,2,3]];
}
console.log(show());
console.log(show1());
console.log(show2());
source
share