News for hackers. Stuff that matters.
Re:The Future of JQuery UI and JQuery Mobile by darepublic on Thursday December 21, 2017 @06:18PM (#15983819)
You can use Array.prototype.forEach.call(nodelist, fn), or Arrays.from(nodelist).forEach
Re:The Future of JQuery UI and JQuery Mobile by panzi on Thursday December 21, 2017 @11:24PM (#15985267)
I don't use Windows so I can't test it, but would this work as a polyfill?

    NodeList.prototype.forEach = Array.prototype.forEach;
In Chrome this even returns true:

    NodeList.prototype.forEach === Array.prototype.forEach
Re:The Future of JQuery UI and JQuery Mobile by emergie on Friday December 22, 2017 @09:12AM (#15987523)
Tested in IE11, document.documentMode===11

  Array.prototype.forEach.call(document.querySelectorAll('div'), console.log)
seams to work