Martijn Just found out the latest version of JSLint does not allow for-loops. Good luck walking through that NodeList people.
Login or register your account to reply
Mark Dain Were meant to use forEach now? That doesn't let you break out like a for loop does. Well done for complicating code for no good reason, JSLint
8y, 43w 3 replies
Martijn Not to mention the fact that forEach is an Array method and does not even work for NodeList
8y, 43w 2 replies
Eric Whats the reason for not allowing them?
8y, 44w 2 replies
Martijn Basically: Crockford doesn't like them anymore... But doesn't offer any kind of solution: jslint.com/help.ht...
8y, 44w 1 reply