3 ms·
You're right! (But since querySelectorAll returns a NodeList and not a regular array, some methods are unavailable, so I just have this habit of making it an a
by bambax 4y ago
You're right!
(But since querySelectorAll returns a NodeList and not a regular array, some methods are unavailable, so I just have this habit of making it an array. But for iteration that's indeed not needed.)