Skip to content

Commit 1310d54

Browse files
fix typo
1 parent eda333d commit 1310d54

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ The `async` keyword before a function has two effects:
298298
299299
The `await` keyword before a promise makes JavaScript wait until that promise settles, and then:
300300
301-
1. If it's an error, the exception is generated — same as if `throw error` were called at that very place.
301+
1. If it's an error, an exception is generated — same as if `throw error` were called at that very place.
302302
2. Otherwise, it returns the result.
303303
304304
Together they provide a great framework to write asynchronous code that is easy to both read and write.

0 commit comments

Comments
 (0)