📜  javascript代码示例中的嵌套数组循环

📅  最后修改于: 2022-03-11 15:01:26.151000             🧑  作者: Mango

代码示例1
let chunked = [[1,2,3], [4,5,6], [7,8,9]];

for(let i = 0; i < chunked.length; i++) {
  
   for(let j = 0; j < chunked[i].length; j++) {
     
      console.log(chunked[i][j]);
   }
}