Javascript For-in Loops

Note to self: do not use for-in loops to iterate over an array. Javascript frameworks will add methods and properties to the array object which will then be looped through and summarily break code.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
-->