In JavaScript, a ‘Multi-dimensional’ or ‘Nested’ array is created when sub-arrays are placed within an outer array. JavaScript lacks a specific format for creating nested arrays, so sub-arrays are nested within a single outer array. The elements of inner arrays are accessed through their index in the outer array. Once you’ve declared a nested array […]
