Skip to content

Commit 93a8dc5

Browse files
authored
Update article.md
1 parent 8881589 commit 93a8dc5

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
@@ -266,7 +266,7 @@ Compare to regular script below:
266266
267267
Please note: the second script actually works before the first! So we'll see `undefined` first, and then `object`.
268268
269-
That's because modules are deferred, so way wait for the document to be processed. The regular scripts runs immediately, so we saw its output first.
269+
That's because modules are deferred, so we wait for the document to be processed. The regular scripts runs immediately, so we saw its output first.
270270
271271
When using modules, we should be aware that HTML-page shows up as it loads, and JavaScript modules run after that, so the user may see the page before the JavaScript application is ready. Some functionality may not work yet. We should put "loading indicators", or otherwise ensure that the visitor won't be confused by that.
272272

0 commit comments

Comments
 (0)