1 min readNov 28, 2017
for…in should not be used to iterate over an Array where the index order is important. That’s why it’s better to use for loop, forEach or for..of loop.
for…in should not be used to iterate over an Array where the index order is important. That’s why it’s better to use for loop, forEach or for..of loop.
Fullstack Javascript Developer | Creator of https://athleticnext.com