From 71fb49101658f65213eb81ba4458a2a8950f8a83 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Wed, 30 Oct 2019 16:56:59 +0300 Subject: [PATCH] minor --- 1-js/11-async/08-async-await/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/08-async-await/article.md b/1-js/11-async/08-async-await/article.md index 0e6db6ed..92162be9 100644 --- a/1-js/11-async/08-async-await/article.md +++ b/1-js/11-async/08-async-await/article.md @@ -168,7 +168,7 @@ async function f() { f(); ``` -If `await` gets a non-promise object with `.then`, it calls that method providing native functions `resolve`, `reject` as arguments. Then `await` waits until one of them is called (in the example above it happens in the line `(*)`) and then proceeds with the result. +If `await` gets a non-promise object with `.then`, it calls that method providing built-in functions `resolve`, `reject` as arguments (just as it does for a regular `Promise` executor). Then `await` waits until one of them is called (in the example above it happens in the line `(*)`) and then proceeds with the result. ```` ````smart header="Async class methods"