Writing JavaScript is like handing the browser a novel written in characters the CPU can’t read. The engine therefore marches your file through a set of stages, each doing a small, quick job so the page shows up fast and ends up running fast once it’...