commit
f3e4541ab9
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# Rewrite using async/await
|
# Rewrite using async/await
|
||||||
|
|
||||||
Rewrite the one of examples from the chapter <info:promise-chaining> using `async/await` instead of `.then/catch`:
|
Rewrite this example code from the chapter <info:promise-chaining> using `async/await` instead of `.then/catch`:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
function loadJson(url) {
|
function loadJson(url) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue