Javascript can hang all browsers ... for example, an infinite while loop

Hit F12 and click Console to see the browser Console log.
Click the buttons below to see updates in the Console log and on this page.

After 20 seconds, this page will go into an infinite loop and hang.
You'll probably need to use Task Mgr to kill it (or kill the browser before 20 seconds).