From 3e74537ea450fb033b3b0951e38f6331586e5efa Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 24 May 2021 11:21:44 +0300 Subject: [PATCH] minor fixes --- 1-js/13-modules/01-modules-intro/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/13-modules/01-modules-intro/article.md b/1-js/13-modules/01-modules-intro/article.md index 1405ecc0..d6006f8f 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -114,9 +114,9 @@ Here are two scripts on the same page, both `type="module"`. They don't see each ``` ```smart -In the case of a web browser, we can make a window-level global variable by explicitly assigning it to `window`, e.g. `window.user = "John"`. +In the browser, we can make a variable window-level global by explicitly assigning it to a `window` property, e.g. `window.user = "John"`. -Then all scripts will see it. +Then all scripts will see it, both with `type="module"` and without it. That said, making such global variables is frowned upon. Please try to avoid them. ```