Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Timwi
8mo ago
0 comments
Save
Share
Well in JS you have to convert to arrays instead. You can't do `document.querySelectorAll(...).map(...)`.
0 comments
1 comments · 1 top-level
top
newest
oldest
thdhhghgbhy
8mo ago
That's the DOM API, it's not part of the language! They had reasons for querySelectorAll not returning an array.
j
/
k
navigate · click thread line to collapse