Getting c2[i].push is not a function when I attempt to insert value to my array. Please let me know what is the error in my code. Thank you

后端 未结 0 591
一整个雨季
一整个雨季 2021-02-13 19:23
function numless(maxarray){   //maxarray is a series of positive numbers
let c = [];
let c2 = [maxarray.length];  // two dimension array
for (let i=0;i

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题