# Modules

### JS Modules

```javascript
<script type="module" src="1.js"></script>
<script src="2.js"></script>
<script defer src="3.js"></script>
```

running order: 2.js --> 1.js --> 3.js

### Browser support

![https://flaviocopes.com/es-modules/](https://3069112348-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MR93ctAFfSCsQwng6wL%2F-MkL6aH3iTw5waq42S6F%2F-MkL6vOZPwxnX7EQFr5_%2Fimage.png?alt=media\&token=d261a37a-f6e6-4a00-b99c-7cd2de48ffee)

