Algorithm

Create complex multi-dimensional arrays

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