Re:jQuery 3.6.0
by rofrol on Tuesday March 02, 2021 @08:48PM
(#26323712)
Nice,
- https://stackoverflow.com/questions/30836289/for-of-loop-que...
[ Parent
| on HN ]
You can also create a getter on NodeList.prototype named '_' that returns Array.from(this) and then just use any of the array methods on it. Like
document.querySelectorAll('div')._.some(...)
So many options. :)