Skip to content

Commit

Permalink
Docs: Fix typo in no-implicit-globals.md (#14954)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbth committed Aug 21, 2021
1 parent 9a4ae3b commit e98f14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-implicit-globals.md
Expand Up @@ -70,7 +70,7 @@ function bar() {}
### Global variable leaks

When the code is not in `strict` mode, an assignment to an undeclared variable creates
a new global variable. This will happen even is the code is in a function.
a new global variable. This will happen even if the code is in a function.

This does not apply to ES modules since the module code is implicitly in `strict` mode.

Expand Down

0 comments on commit e98f14d

Please sign in to comment.