From 842f0e22a6d910e751bad45c49f61be98960f644 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 24 May 2021 11:50:46 +0300 Subject: [PATCH] minor fixes --- 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 932bfef8..1531e48f 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -186,7 +186,7 @@ That's exactly because the module is executed only once. Exports are generated, **Such behavior is actually very convenient, because it allows us to *configure* modules.** -In other words, a module can provide a generic functionality that needs a setup. E.g. authentication needs credentials. Then we export a configuration object expecting the outer code to assign to it. +In other words, a module can provide a generic functionality that needs a setup. E.g. authentication needs credentials. Then it can export a configuration object expecting the outer code to assign to it. For instance, the `admin.js` module may provide certain functionality (e.g. authentication), but expect the credentials to come into the `config` object from outside.