4 ms·
Well in JS you have to convert to arrays instead. You can't do `document.querySelectorAll(...).map(...)`.
by Timwi 1y ago
Well in JS you have to convert to arrays instead. You can't do `document.querySelectorAll(...).map(...)`.
- thdhhghgbhy 1y agoThat's the DOM API, it's not part of the language! They had reasons for querySelectorAll not returning an array.