Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`.entries()` returns an iterator one can use directly in for-of loops:

https://developer.mozilla.org/en-US/docs/Web/API/NodeList/en...



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

Search: