From 34bb5ab173d6711eb1a48cd37d670c54aa9eaf25 Mon Sep 17 00:00:00 2001 From: Mario Viens Date: Fri, 26 Oct 2018 15:41:27 -0700 Subject: [PATCH] Fix typo. --- 6-async/05-async-await/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-async/05-async-await/article.md b/6-async/05-async-await/article.md index 23b58240..0a76f1a0 100644 --- a/6-async/05-async-await/article.md +++ b/6-async/05-async-await/article.md @@ -183,7 +183,7 @@ The meaning is the same: it ensures that the returned value is a promise and ena ```` ## Error handling -If a promise resolves normally, then `await promise` returns the result. But in case of a rejection, it throws the error, just if there were a `throw` statement at that line. +If a promise resolves normally, then `await promise` returns the result. But in case of a rejection, it throws the error, just as if there were a `throw` statement at that line. This code: