Promise.resolve(1)
.then(x => x + 1)
.then(x => { throw x })
.catch(x => x + 1)
.then(x => console.log(x));
WebDEV #test #Frontend
Выберите правильный вариант 👇🏼
WE WebDEV @webb_dev · 8.3K subscribers Promise.resolve(1)
.then(x => x + 1)
.then(x => { throw x })
.catch(x => x + 1)
.then(x => console.log(x));