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
7y, 15w 3 replies
Martijn Not to mention the fact that forEach is an Array method and does not even work for NodeList
7y, 15w 2 replies
Eric Whats the reason for not allowing them?
7y, 15w 2 replies
Martijn Basically: Crockford doesn't like them anymore... But doesn't offer any kind of solution:
7y, 15w 1 reply