Understanding async and defer

王林
Release: 2024-08-09 01:58:42
Original
686 people have browsed it

Understanding async and defer

This is one of the popular frontend interview questions. It tests interviewees knowledge on HTML, JS and Performance.

This is question #1 of Frontend Interview Questions series. If you're looking to level up your preparation or stay updated in general, consider signing up on FrontendCamp.


The script tag is used to add JavaScript to an HTML page. It could be an inline script or an external script.