mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2024-11-23 05:34:04 +00:00
Fix typo - "that" to "than" (#23)
This commit is contained in:
parent
bc404ec6f8
commit
15b1b550a4
|
@ -2168,7 +2168,7 @@ Promises supports a few helper methods that help make code more conscise:
|
|||
|
||||
### Async/Await are even cleaner than Promises
|
||||
|
||||
With `async`/`await` syntax you can write code that is far cleaner and more understandable that chained promises. Within a function prefixed with `async` keyword you have a way to tell the JavaScript runtime to pause the execution of code on the `await` keyword (when used on a promise).
|
||||
With `async`/`await` syntax you can write code that is far cleaner and more understandable than chained promises. Within a function prefixed with `async` keyword you have a way to tell the JavaScript runtime to pause the execution of code on the `await` keyword (when used on a promise).
|
||||
|
||||
**Bad:**
|
||||
|
||||
|
|
Loading…
Reference in a new issue