Tell us what’s happening:
This is really confused with multi array and I am lost the track… I don’t know which one
However I have looked up at challenge solution but its wrong
let myNestedArray = [
[
1, 2, 3, 3, 5, 6, [true, false, false, 12]
]
];
the console log said
// running test
myNestedArray should have exactly 5 levels of depth
myNestedArray should contain exactly one occurrence of the string “deep” on an array nested 3 levels deep
myNestedArray should contain exactly one occurrence of the string “deeper” on an array nested 4 levels deep
myNestedArray should contain exactly one occurrence of the string “deepest” on an array nested 5 levels deep
// tests completed
Your code so far
let myNestedArray = [
[
1, 2, 3, 3, 5, 6, [true, false, false, 12]
]
];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/create-complex-multi-dimensional-arrays