Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nicoburns
5y ago
0 comments
Share
FYI the reason it's not an array is because if you store a reference to it, it will stay up to date as and when the DOM changes.
0 comments
default
newest
oldest
jarek-foksa
5y ago
The NodeList returned by querySelectorAll() is not live. There is really no reason for it to return a NodeList other than backward compatibility.
j
/
k
navigate · click thread line to collapse