📜  迭代 3x3x3 数组 - Javascript 代码示例

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

代码示例1
const my3x3x3Array = [
    [
        [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
    ]
]
for(let i = 0; i <= my3x3x3Array.length; i++) {
    for(let j = 0; j <= my3x3x3Array[i].length; j++){
        for(let k = 0; k <= my3x3x3Array[i][j].length; k++) {
            console.table(my3x3x3Array[i][j])
        }
    }
}