Skip to content

Ensuring common iterable DOM classes can be used in for/of loops.

License

Notifications You must be signed in to change notification settings

ungap/dom-iterable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOM Iterable

Build Status Coverage Status Greenkeeper badge WebReflection status

Ensuring common iterable DOM classes can be used in for/of loops.

// works from Chrome 51 on, not before
for (const node of document.querySelectorAll('*'))
  console.log(node);

Live test

About

Ensuring common iterable DOM classes can be used in for/of loops.

Resources

License

Stars

Watchers

Forks

Packages

No packages published