Understanding Nested Arrays in JavaScript
Published in
3 min readJan 4, 2021
An array is an ordered collection of values: each value is called an element, and each element has a numeric position in the array, known as its index.
JavaScript lets us create arrays inside array called Nested Arrays. Nested Arrays have one or many arrays as the element of an array. This might be little confusing in definition but it is very interesting once we dig inside.