Update solution.md

Fix typos
This commit is contained in:
Nguyen Dang Quang 2019-05-07 11:25:48 +07:00 committed by GitHub
parent 40074e0186
commit dd6a630888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ loadJson('no-such-user.json')
Notes:
1. The function `loadUrl` becomes `async`.
1. The function `loadJson` becomes `async`.
2. All `.then` inside are replaced with `await`.
3. We can `return response.json()` instead of awaiting for it, like this: