(
()=>{
var theDelayResult= new Promise(
(doRes, doRej) => {
setTimeout( ()=>doRes('Time out'), 3000)
}
);
new Promise(
(doRes, doRej) => {
doRes( theDelayResult )
}
).then(console.log)
}
)();
Post #480
4.12K
Дано код в современном google chrome:
- 🌚 9
- 🤣 6
- 👨💻 4
- ❤ 1