Tell us what’s happening:
This shoudl be an easy challenge, but for some reason I can’t pass it. this is what I have. On the first sub array I did all of the nesting for the sake of simplicity.
Your code so far
let myNestedArray = [
// change code below this line
['unshift',['deep',2,['deeper',1,['deepest',1]]] false, 1, 2, 3, 'complex', 'nested'],
['loop', 'shift', 6, 7, 1000, 'method'],
['concat', false, true, 'spread', 'array'],
['mutate', 1327.98, 'splice', 'slice', 'push'],
['iterate', 1.3849, 7, '8.4876', 'arbitrary', 'depth']
// change code above this line
];
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS aarch64 11151.29.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.49 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/create-complex-multi-dimensional-arrays