fetch('https://jsonplaceholder.tyлавicode.com/posts?_page=4&_limit=20') // 404
.then(response => response.json())
.then(data => console.log(data))
.then(() => console.log(567)) //выведется ли или нет?
.catch(err => console.log(err))
.then(() => console.log(123)) //выведется ли или нет?
Click Run to execute JavaScript.
Code runs in an isolated environment.
Code runs in an isolated environment.