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, 45w 3 replies
Martijn Not to mention the fact that forEach is an Array method and does not even work for NodeList
8y, 45w 2 replies
Mark Dain Would object.keys work?
8y, 45w 1 reply
Login or register your account to 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, 45w reply