From 79a1b9293b60eb684dc9314307da2622a2beb904 Mon Sep 17 00:00:00 2001 From: LeviDing Date: Wed, 16 Feb 2022 09:11:59 +0800 Subject: [PATCH] Update article.md --- 1-js/13-modules/01-modules-intro/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/13-modules/01-modules-intro/article.md b/1-js/13-modules/01-modules-intro/article.md index 6568c06f..fede8406 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -182,7 +182,7 @@ alert(admin.name); // Pete As you can see, when `1.js` changes the `name` property in the imported `admin`, then `2.js` can see the new `admin.name`. -That's exactly because the module is executed only once. Exports are generated, and then they are shared between importers, so if something changes the `admin` object, other modules will see that. +That's exactly because the module is executed only once. Exports are generated, and then they are shared between importers, so if something changes the `admin` object, other importers will see that. **Such behavior is actually very convenient, because it allows us to *configure* modules.**