There are a lot of ways to break up long tasks in JavaScript.
It's not hard to bork your site's user experience by letting a long, expensive task hog the main...
Tags: performance, javascript