Pregunta de entrevista de Whatfix

Difference between async and defer?

Respuesta de la entrevista

Anónimo

13 de jul de 2020

Each async script executes at the first opportunity after it is finished downloading and before the window's load event where as defer script executes after parsing of entire html on the page.