This project is not maintained anymore. You can still view and search the archives.

wdrl.
  • Archive
  • Evergreen
  • About
  • Contribute

NodeList object is finally an Iterable

Hi, I’m Anselm Hannemann, a freelance Frontend Developer and Engineering Manager. You can hire me. I wrote WDRL for 10 years and have a a Market Garden as a side-business.

Profile photo of the author, Anselm Hannemann

This link appeared in WDRL 135 on 29.04.2016.

NodeList object is finally an Iterable

In the upcoming version of Chrome, the NodeList object will finally be an iterable. This is great because finally, we’ll be able to use const elements = document.querySelectorAll('a'); elements.forEach(a => console.log(a.getAttribute('href'))) to get a list of all href-attributes instead of an error. And as it’s defined as an iterable in the spec, too, we can hope for wide-spread browser support in the future.

This link appeared in the 2016 Yearbook.

Profile photo of the author, Anselm Hannemann

Other projects

  • Hire me as Developer or Scrum Master
  • My food produce CSA

Sitemap

  • Privacy Policy
  • RSS
  • Donate
  • About
  • Testimonials

Legal

© 2026 and made by
Anselm Hannemann
Hofmark 14
82393 Iffeldorf
Germany
mail@wdrl.info