Skip to content

Commit f2da9f2

Browse files
pawelsbergmbeaudru
authored andcommitted
Typo fix (mbeaudru#112)
1 parent 924d00b commit f2da9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ class Square extends Polygon {
13681368

13691369
In addition to [Promises](#promises), there is a new syntax you might encounter to handle asynchronous code named *async / await*.
13701370

1371-
The purpose of async/await functions is to simplify the behavior of using promises synchronously and to perform some behavior on a group of Promises. Just as Promises are similar to structured callbacks, async/await is similar to combining generators and promises. Async functions *always* returns a Promise. ([Ref: MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function))
1371+
The purpose of async/await functions is to simplify the behavior of using promises synchronously and to perform some behavior on a group of Promises. Just as Promises are similar to structured callbacks, async/await is similar to combining generators and promises. Async functions *always* return a Promise. ([Ref: MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function))
13721372

13731373
> **Note :** You must understand what promises are and how they work before trying to understand async / await since they rely on it.
13741374

0 commit comments

Comments
 (0)