News for hackers. Stuff that matters.
Re:Bling – the $ of jQuery without the jQuery by egeozcan on Monday June 15, 2015 @05:44AM (#9718371)
Probably meant to be

    [].slice.call(document.querySelectorAll('.foo')).forEach(...
It "casts" the NodeList which is "Array-like" to a proper Array, which has forEach, map and other useful methods in its prototype.

There are no comments on this comment yet.