In the browser's console I am expecting 3 consecutive results which are: Bears, Lions, Tigers. in this order. What I get is only Bears
new Promise((resolve, reject) => {
return reject(new Error('no bears'));
setTimeout(() => {
resolve('Bears', 'Lions', 'Tigers')
}, 1000);
})
.then(quote => {
console.log(quote);
})