Sobes.tech
Middle+

Dla łańcucha Promise.resolve(1).then(() => { throw 2 }).then(...).catch(x => console.log(x)).then(x => console.log(x)), określ, co będzie w ostatnim console.log i wyjaśnij dlaczego.