re: How do I use .forEach on DOM Elements? VIEW POST

FULL DISCUSSION
 
 

There are some methods that don't make much sense in relation to NodeLists. Mostly mutating methods like push, sort or splice.

The others are fine, though. I'd love to have map or filter 😞

code of conduct - report abuse