If only NodeList inherited from Array...
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 😞
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.