ryoakg
2/14/2017 - 7:05 AM

NodeList-iteration.js

// http://d.hatena.ne.jp/rikuba/20130322/1363890592
Array.apply(null, document.querySelectorAll('div')).forEach(function(e){ console.log(e); });
Array.apply(null, document.getElementsByTagName('div')).forEach(function(e){ console.log(e); });