JavaScript arrays are zero-based and use 32-bit indexes: the index of the first element is 0, and the highest possible index is 4294967294 (2ยณยฒโ2).
JavaScript arrays haveno notion of an โout of boundsโ error. When you try to query a nonexistent property of any object, you donโt get an error; you simply get undefined.