Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Timwi
· 1y ago · 0 comments
Well in JS you have to convert to arrays instead. You can't do `document.querySelectorAll(...).map(...)`.
Comments
[–]
thdhhghgbhy
1y ago
That's the DOM API, it's not part of the language! They had reasons for querySelectorAll not returning an array.