importance: 4
---
# Which script executes first?
In the questions below, there are two scripts: `small.js` and `big.js`.
If we assume that `small.js` loads much faster compared to `big.js` -- which script executes first?
```html
```
What if we add `async`?
```html
```
What if we switch to `defer`?
```html
```