minor fixes

This commit is contained in:
Ilya Kantor 2022-02-06 13:05:02 +03:00
parent f2e4db7e66
commit 7647ab913f
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ async function loadJson(url) { // (1)
throw new Error(response.status);
}
loadJson('no-such-user.json')
loadJson('https://javascript.info/no-such-user.json')
.catch(alert); // Error: 404 (4)
```