Martijn Just found out the latest version of JSLint does not allow for-loops. Good luck walking through that NodeList people.
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, 44w 3 replies
Martijn Not to mention the fact that forEach is an Array method and does not even work for NodeList
8y, 44w 2 replies
Login or register your account to reply
Mark Dain Would object.keys work?
8y, 44w 1 reply
Martijn I am not sure how that would work? What are you imagining? It looks like NodeList does inherit from Object's prototype: developer.mozilla....
8y, 44w reply