Browser & Web Performance · Junior · Question 10 of 75

How does <script type="module"> load by default?

Explanation

Module scripts are deferred by default. Adding async makes them run as soon as they and their imports are ready.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 10

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz