diff --git a/1-js/13-modules/01-modules-intro/article.md b/1-js/13-modules/01-modules-intro/article.md index 4f14ae15..9a8ef25e 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -81,7 +81,7 @@ Modules always work in strict mode. E.g. assigning to an undeclared variable wil Each module has its own top-level scope. In other words, top-level variables and functions from a module are not seen in other scripts. -In the example below, two scripts are imported, and `hello.js` tries to use `user` variable declared in `user.js`, and fails: +In the example below, two scripts are imported, and `hello.js` tries to use `user` variable declared in `user.js`, and fails (you'll see the error in the console): [codetabs src="scopes" height="140" current="index.html"]