Skip to content

Commit b658864

Browse files
authored
Merge pull request #1373 from Yufan029/patch-1
Update article.md
2 parents 8f56846 + 93a8dc5 commit b658864

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)