Predict the output.
const thenable = { then(resolve) { resolve(42) } } Promise.resolve(thenable).then(console.log)