Merge pull request #1697 from jianlin/patch-1

fix typo
This commit is contained in:
Alexey Pyltsyn 2019-12-29 19:17:02 +03:00 committed by GitHub
commit 28ed5a3f7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,4 +109,4 @@ So, `.then/catch/finally` handlers are always called after the current code is f
If we need to guarantee that a piece of code is executed after `.then/catch/finally`, we can add it into a chained `.then` call. If we need to guarantee that a piece of code is executed after `.then/catch/finally`, we can add it into a chained `.then` call.
In most Javascript engines, including browsers and Node.js, the concept of microtasks is closely tied with "event loop" and "macrotasks". As these have no direct relation to promises, they are covered in another part of the tutorial, in the chapter <info:event-loop>. In most JavaScript engines, including browsers and Node.js, the concept of microtasks is closely tied with "event loop" and "macrotasks". As these have no direct relation to promises, they are covered in another part of the tutorial, in the chapter <info:event-loop>.