Parse and compile
The steps where the browser reads JavaScript text and turns it into code it can run. They happen on the main thread, so JavaScript costs more than its download size.
The steps where the browser reads JavaScript text and turns it into code it can run. They happen on the main thread, so JavaScript costs more than its download size.