New post: How we increased browser compat and reduced our JS bundle 10% by using a different kind of for-loophttps://daverupert.com/2017/10/for-of-loops-are-bad/ …
-
-
Is this a v8 only thing? Do you think http://Array.prototype.forEach.call ( myNodeList, function() {}) is a better polyfill?
-
No, that wouldn’t have the speed benefit either. Array#forEach is optimized for arrays.
- 1 more reply
New conversation -
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.