It is a bit weird to consume an iterator into an array when a NodeList is already iterable.
Not sure why it caught on.
Not sure why it caught on.
and you can querySelectorAll('...').filter(el => ...) without any copies.
ditto for other mentioned functions. Prototypal nature of Javascript is there for a reason.
Might also have something to do with Redux and immutable patterns. (the use of spread operator in general)
and you can querySelectorAll('...').filter(el => ...) without any copies.