From 4b124fb7df801c47e4fd1da158843e738e679248 Mon Sep 17 00:00:00 2001 From: Peter Roche <46547072+paroche@users.noreply.github.com> Date: Sun, 2 Feb 2020 22:47:11 -0700 Subject: [PATCH] Update article.md "allows to use" -> "allows us to use" "to use with await" -> "to use it with await" --- 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 e1be919d..dfb8a9d5 100644 --- a/1-js/11-async/08-async-await/article.md +++ b/1-js/11-async/08-async-await/article.md @@ -143,7 +143,7 @@ But we can wrap it into an anonymous async function, like this: ```` ````smart header="`await` accepts \"thenables\"" -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`. +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`. Here's a demo `Thenable` class; the `await` below accepts its instances: