NodeList.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator]; for (var x of document.querySelectorAll('p')) { console.log(x); }
@RReverser It is, but stable Chromium doesn’t support that yet, although it does support `for-of`.https://twitter.com/mathias/status/521953574398738433 …
-
-
@mathias Oh, right. I used it in Firefox's console for a while, but forgot that it's not available in Chromium yet.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
