Skip to content

Commit 4b124fb

Browse files
authored
Update article.md
"allows to use" -> "allows us to use" "to use with await" -> "to use it with await"
1 parent d10b50a commit 4b124fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/11-async/08-async-await/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ But we can wrap it into an anonymous async function, like this:
143143
144144
````
145145
````smart header="`await` accepts \"thenables\""
146-
Like `promise.then`, `await` allows to use thenable objects (those with a callable `then` method). The idea is that a third-party object may not be a promise, but promise-compatible: if it supports `.then`, that's enough to use with `await`.
146+
Like `promise.then`, `await` allows us to use thenable objects (those with a callable `then` method). The idea is that a third-party object may not be a promise, but promise-compatible: if it supports `.then`, that's enough to use it with `await`.
147147

148148
Here's a demo `Thenable` class; the `await` below accepts its instances:
149149

0 commit comments

Comments
 (0)