From 9ce9fb9ca25adc6fbdabd6323637b3b59d1bf0c0 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Wed, 16 Oct 2019 08:00:21 +0300 Subject: [PATCH] minor --- 1-js/11-async/01-callbacks/article.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/1-js/11-async/01-callbacks/article.md b/1-js/11-async/01-callbacks/article.md index c590b365..82a9121f 100644 --- a/1-js/11-async/01-callbacks/article.md +++ b/1-js/11-async/01-callbacks/article.md @@ -10,11 +10,13 @@ If you're not familiar with them, please read few chapters from the [next part]( Or, maybe examples will be clear enough for you even without that. ``` -Many actions in JavaScript are *asynchronous*. +Many actions in JavaScript are *asynchronous*. In other words, we initiate them now, but they finish later. For instance, we can schedule such actions using `setTimeout`. -There are other real-world examples of asynchronous actions, e.g. take a look at the function `loadScript(src)`, that should load a new script with the given `src`: +There are other real-world examples of asynchronous actions, e.g. loading scripts and modules (we'll cover them in later chapters). + +Take a look at the function `loadScript(src)`, that loads a script with the given `src`: ```js function loadScript(src) { @@ -24,7 +26,7 @@ function loadScript(src) { } ``` -When it appends the new, dynamically created, tag `