You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```smart header="The small script downloads first, runs second"
83
83
Browsers scan the page for scripts and download them in parallel, to improve performance. So in the example above both scripts download in parallel. The `small.js` probably makes it first.
84
84
85
-
But the specification requres scripts to execute in the document order, so it waits for `long.js` to execute.
85
+
But the specification requires scripts to execute in the document order, so it waits for `long.js` to execute.
86
86
```
87
87
88
88
```smart header="The `defer` attribute is only for external scripts"
0 commit comments