Answer:
The index value of the first element in a JavaScript array is zero
Step-by-step explanation:
Required
Index of first JavaScript array element
Just like numerous programming languages, when an array is declared in JavaScript, the index of the array starts at 0.
Meaning that the first element of the JavaScript array is indexed 0
Say for instance, the array has 5 elements:
This is declared as:
var arrayname = Array(5);
The first of the 5 elements of the array starts at 0 while the last of the 5 elements would be at index 4.