What is Array in Programming ?
Array is a variable of collection of elements . Think of a egg container. The container is a array and the eggs are elements. An array can contain multiple elements.
In the picture, you can see the elements and index ( position) . You can access a single elements using array[index] . If you want to get John from the array of the picture you can get it by array. Array index start from zero .
["a","b","c","d","e"].at(0) // a ["a","b","c","d","e"].at(-1) // e ["a","b","c","d","e"].at(42) // undefined