mirror of
https://codeberg.org/vlw/elevent.git
synced 2025-09-14 00:23:41 +02:00
I had some weird notion that `querySelectorAll` would return an `HTMLCollection` and not a `NodeList`. ```js [...document.querySelectorAll()].forEach(element => {}); ``` > Maybe I was doing this for no reason before, since `NodeList` already inherits the Array `forEach()` method... Reviewed-on: https://codeberg.org/vlw/elevent/pulls/1 Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com> Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com> |
||
---|---|---|
.. | ||
Elevent.mjs |