If you use a named index, when accessing an array, JavaScript will redefined the array to a standard object, and all array methods and properties will produce undefined or incorrect results.