Merge pull request #2598 from joaquinelio/patch-7

always strict
This commit is contained in:
Ilya Kantor 2021-05-13 16:22:23 +03:00 committed by GitHub
commit 094b829899
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">