Sobes.tech
Middle+

Pro řetězec Promise.resolve(1).then(() => { throw 2 }).then(...).catch(x => console.log(x)).then(x => console.log(x)), určete, co bude v posledním console.log, a vysvětlete proč.