The for...in statement iterates over all enumerable string properties of an object (ignoring properties keyed by symbols), including inherited enumerable properties....in Array indexes are just enumerable properties...use a for loop with a numeric index, Array.prototype.forEach() ...