From e98f14d356b5ff934dd2a0a1fb226f1b15317ab3 Mon Sep 17 00:00:00 2001 From: jwbth <33615628+jwbth@users.noreply.github.com> Date: Sat, 21 Aug 2021 08:07:13 +0300 Subject: [PATCH] Docs: Fix typo in no-implicit-globals.md (#14954) --- docs/rules/no-implicit-globals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-implicit-globals.md b/docs/rules/no-implicit-globals.md index 04a3cd3fdbb..479d958d62c 100644 --- a/docs/rules/no-implicit-globals.md +++ b/docs/rules/no-implicit-globals.md @@ -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.