Predict the output.
Promise.resolve('ok') .finally(() => { throw 'boom' }) .then(console.log) .catch(console.log)