From 8734416b97288d1bd78538ad1442ed3bfd89b35d Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Wed, 6 Nov 2019 21:08:29 +0300 Subject: [PATCH] minor --- 1-js/13-modules/01-modules-intro/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/13-modules/01-modules-intro/article.md b/1-js/13-modules/01-modules-intro/article.md index a87cd67c..f21367c8 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -274,9 +274,9 @@ When using modules, we should be aware that HTML-page shows up as it loads, and For non-module scripts, `async` attribute only works on external scripts. Async scripts run immediately when ready, independently of other scripts or the HTML document. -For module scripts, it works on any script. +For module scripts, it works on inline scripts as well. -For example, the script below has `async`, so it doesn't wait for anyone. +For example, the inline script below has `async`, so it doesn't wait for anything. It performs the import (fetches `./analytics.js`) and runs when ready, even if the HTML document is not finished yet, or if other scripts are still pending.