Re:The Future of JQuery UI and JQuery Mobile
by hawkice on Thursday December 21, 2017 @05:24PM
(#15983409)
The page I linked has a compatibility chart that says Edge 16 has it (no idea if that's a planned release, haven't ever used Edge).
[ Parent
| on HN ]
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