Single Threaded

Normally, all code is executed on the UI thread. If the code is very intensive, then the browser tab will become unresponsive. CSS animations freeze, DOM updates are blocked, etc. Click the start button below to kick off intensive code that runs for 5 seconds and see for yourself.

1 2 3 4 5

Blog post: Multi-Threaded JavaScript with Web Workers