Resolución de la promesa inmediata
Promise.resolve().then(() => {
console.log('resolved');
});
console.log('end');
// end
// resolve
Mysterious Monkey
Promise.resolve().then(() => {
console.log('resolved');
});
console.log('end');
// end
// resolve