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

Oh you're right, there is a forEach method.

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

    entries()
    forEach()
    item()
    keys()
    values()
And maybe values().map() will work too.


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

Search: