fix typo
This commit is contained in:
Alexey Pyltsyn 2019-10-25 15:16:57 +03:00 committed by GitHub
commit f2501bcf07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commi
.then(commits => alert(commits[0].author.login));
```
To get the reponse text, `await response.text()` instead of `.json()`:
To get the response text, `await response.text()` instead of `.json()`:
```js run async
let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits');