DEV Community

Discussion on: CSS, JavaScript, and blocking web page parsing

Collapse
 
faheem_khan_dev profile image
Faheem Khan

This is not correct.
If async ia there, script "download" happens asynchronously not the execution.

Collapse
 
sandhilt profile image
Bruno Ochotorena

Look in source:
"If the async attribute is set, the script is downloaded in parallel to parsing the page, and executed as soon as it is available."

Collapse
 
sandhilt profile image
Bruno Ochotorena