Help needed in complex-multidimensional-arrays

Tell us what’s happening:
Guys i’m not actually understanding how to approach this challenge. I mean i get the basic idea but still i’m confused .Anyone wanna help me out here and give me a broader explanation about this topic and specifically on how to approach this problem.

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'],
  ['mutate', 1327.98, 'splice', 'slice', 'push'],
  ['iterate', 1.3849, 7, '8.4876', 'arbitrary', 'depth']
  // change code above this line

Link to the challenge:

  • You have to insert more elements in the provided array
  • these elements will allow you to reach the fifth level nest
  • the element at the third level must contain the word deep, the element at the fourth deeper etc…


Don’t get distracted by all the pre-inserted elements, they are just background noise! :wink:

1 Like

I did every thing i can think of.But not working.Mind if you provide the solution ?.please