From 93a8dc537452657aca46780e2432e8931d18e6a1 Mon Sep 17 00:00:00 2001 From: Yufan029 Date: Tue, 24 Sep 2019 10:53:07 +1000 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 403cb995..ef122f30 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -266,7 +266,7 @@ Compare to regular script below: Please note: the second script actually works before the first! So we'll see `undefined` first, and then `object`. -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. +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. 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.