Hacker News new | past | comments | ask | show | jobs | submit login

this is why I usually go for something like const $ = (el) => [...document.querySelectorAll(el)]



Although NodeList has forEach defined on it now at least.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: