Why is using “for…in” for array iteration a bad idea?


I've been told not to use for...in with arrays in JavaScript. Why not?