Y
Hacker News
new
|
ask
|
show
|
jobs
by
spiralx
1983 days ago
Before that ES2015 allowed you to do Array.from(nodeList, mapFunc?) which I still use due to the optional mapping function e.g. Array.from(document.querySelectorAll('a'), a => a.href)