iterating 3x3x3 array code example
Example: iterating 3x3x3 array
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])
}
}
}