Normal, Asynchronous vs Deferred JavaScript Execution

Normal Javascript execution:

HTML parsing paused till script is fetched and executed then resume .


HTML parsing continue while script is being fetched but pauses when script is executed.


Script fetching continues while HTML is parsing but only execute when HTML parsing is completed.

For more details, check this page:

Leave a Reply

Your email address will not be published. Required fields are marked *