4 ms·
The result of `querySelectorAll()` is a `NodeList` which does not have a funtional iterable interface without additional transformation [0]. `Array.prototype.s
by deckar01 11y ago
The result of `querySelectorAll()` is a `NodeList` which does not have a funtional iterable interface without additional transformation [0].
`Array.prototype.slice.call(document.querySelectorAll(selector)).forEach(cb)`
vs
`$(selector).each(cb)`
[0] https://developer.mozilla.org/en-US/docs/Web/API/NodeList https://developer.mozilla.org/en-US/docs/Web/API/NodeList