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

Actually, we do, since Chromium 51. See https://dev.opera.com/blog/opera-38/



Yeah you're right. Just updated stable Chrome and:

  NodeList.prototype.forEach
  forEach() { [native code] }
Thank. God. Finally.

Edit:

  HTMLCollection.prototype.forEach
(which is what you'll get from other vanilla JS methods) is still missing.




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

Search: