We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda333d commit 1310d54Copy full SHA for 1310d54
1-js/11-async/08-async-await/article.md
@@ -298,7 +298,7 @@ The `async` keyword before a function has two effects:
298
299
The `await` keyword before a promise makes JavaScript wait until that promise settles, and then:
300
301
-1. If it's an error, the exception is generated — same as if `throw error` were called at that very place.
+1. If it's an error, an exception is generated — same as if `throw error` were called at that very place.
302
2. Otherwise, it returns the result.
303
304
Together they provide a great framework to write asynchronous code that is easy to both read and write.
0 commit comments