JSlint: unexpected ‘for’ [duplicate]

JSLint suggests you use other loops such as forEach. http://www.jslint.com/help.html#for

You can just select the tolerate “for statement” option at the bottom if this bothers you but the code looks fine.

Leave a Comment