This commit is contained in:
Ilya Kantor 2019-08-09 17:35:25 +03:00
parent a66f514df7
commit e82885055b
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ To fully enable all features of modern JavaScript, we should start scripts with
...
```
The directive must be at the top of a script or at the beginning of a function.
The directive must be at the top of a script or at the beginning of a function body.
Without `"use strict"`, everything still works, but some features behave in the old-fashion, "compatible" way. We'd generally prefer the modern behavior.