As @mathias says, .slice(), .charAt(), .split(""), & .length aren't always good enough for itterating over strings http://jakearchibald.com/2013/solving-rendering-perf-puzzles/#javascript …
Replying to @jaffathecake
@jaffathecake Nice addendum! FWIW I explained this some more here: http://mathiasbynens.be/notes/javascript-encoding …
8:15 AM - 5 Aug 2013
0 replies
3 retweets
4 likes
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.