Create complex multi-dimensional arrays help

I put in the strings i think the test is broken

Your code so far


let myNestedArray = [
  // change code below this line
  ['unshift', false, 1, 2, 3, 'complex', 'nested'],
  ['loop', 'shift', 6, 7, 1000, 'method' ],
  ['concat', false, true, 'spread', 'array', 'deep'],
  ['mutate', 1327.98, 'splice', 'slice', 'push', 'deeper' ],
  ['iterate', 1.3849, 7, '8.4876', 'arbitrary', 'depth','deepest']
  // change code above this line
];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/create-complex-multi-dimensional-arrays

It is an array of arrays but you have to create a multidimensional array

1 Like

you mean the brackets?

why did i need the brackets?

Yeah ,you dont have to provide brackets to every element in the array,
nest them