3 ms·
this is why I usually go for something like const $ = (el) => [...document.querySelectorAll(el)]
by mercer 8y ago
this is why I usually go for something like const $ = (el) => [...document.querySelectorAll(el)]
- spiralx 8y agoAlthough NodeList has forEach defined on it now at least.