From 2f9221f4d3a9d7107d0e9c78d8e1f991c9de2ec6 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 2 Sep 2019 21:48:45 +0300 Subject: [PATCH] minor --- 1-js/11-async/02-promise-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/02-promise-basics/article.md b/1-js/11-async/02-promise-basics/article.md index 1d4e8041..5a396b72 100644 --- a/1-js/11-async/02-promise-basics/article.md +++ b/1-js/11-async/02-promise-basics/article.md @@ -24,7 +24,7 @@ let promise = new Promise(function(resolve, reject) { The function passed to `new Promise` is called the *executor*. When `new Promise` is created, it runs automatically. It contains the producing code, that should eventually produce a result. In terms of the analogy above: the executor is the "singer". -Its arguments `resolve` and `reject` are callbacks provided by JavaScript itself. Our code is only inside executor. +Its arguments `resolve` and `reject` are callbacks provided by JavaScript itself. Our code is only inside the executor. When the executor obtains the result, be it soon or late - doesn't matter, it should call one of these callbacks: