Skip to content

Commit 3008f26

Browse files
authored
Merge pull request #1438 from chrisshyi/patch-1
Fix minor grammatical error
2 parents fba8458 + 466f995 commit 3008f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/11-async/03-promise-chaining/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ new Promise(resolve => resolve(1))
218218
219219
JavaScript checks the object returned by `.then` handler in the line `(*)`: if it has a callable method named `then`, then it calls that method providing native functions `resolve`, `reject` as arguments (similar to executor) and waits until one of them is called. In the example above `resolve(2)` is called after 1 second `(**)`. Then the result is passed further down the chain.
220220
221-
This feature allows to integrate custom objects with promise chains without having to inherit from `Promise`.
221+
This feature allows us to integrate custom objects with promise chains without having to inherit from `Promise`.
222222
````
223223

224224

0 commit comments

Comments
 (0)