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

There are other options, closer to what you're looking for. Try

    Object.entries(dict).forEach(fn)
Or

    _.entries(dict).forEach(fn)



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

Search: