always strict

This commit is contained in:
joaquinelio 2021-05-07 19:35:54 -03:00 committed by GitHub
parent 6ab384f251
commit 252cccf2ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ There are core features, valid both for browser and server-side JavaScript.
### Always "use strict" ### Always "use strict"
Modules always `use strict`, by default. E.g. assigning to an undeclared variable will give an error. Modules always work in strict mode. E.g. assigning to an undeclared variable will give an error.
```html run ```html run
<script type="module"> <script type="module">