Skip to content

Commit df45aed

Browse files
committed
minor fixes
1 parent 006343a commit df45aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/13-modules/01-modules-intro/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ import `./alert.js`; // Module is evaluated!
146146
import `./alert.js`; // (shows nothing)
147147
```
148148

149-
In practice, top-level module code is mostly used for initialization, creation of internal data structures, and if we want something to be reusable -- export it.
149+
Top-level module code should be used for initialization, creation of module-specific internal data structures. If we want to call something multiple times - we need to export it.
150150

151151
Now, a more advanced example.
152152

0 commit comments

Comments
 (0)