Merge pull request #2991 from rebeccacremona/rebeccacremona-patch-1

Grammatical fix.
This commit is contained in:
Ilya Kantor 2022-05-12 07:29:07 +04:00 committed by GitHub
commit 8b66d02cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,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 body. 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. Without `"use strict"`, everything still works, but some features behave in the old-fashioned, "compatible" way. We'd generally prefer the modern behavior.
Some modern features of the language (like classes that we'll study in the future) enable strict mode implicitly. Some modern features of the language (like classes that we'll study in the future) enable strict mode implicitly.