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.
2 parents 676319d + 1310d54 commit 3efe4cfCopy full SHA for 3efe4cf
1-js/11-async/08-async-await/article.md
@@ -303,7 +303,7 @@ The `async` keyword before a function has two effects:
303
304
The `await` keyword before a promise makes JavaScript wait until that promise settles, and then:
305
306
-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.
307
2. Otherwise, it returns the result.
308
309
Together they provide a great framework to write asynchronous code that is easy to both read and write.
0 commit comments