JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumJavaScript
What does this log?
code
Promise.resolve(1)
.then(() => { throw new Error('boom'); })
.then(() => console.log('skipped'))
.catch((e) => console.log('caught:', e.message));