I'm being really dumb here. Why doesn't this async IIFE run?
const f = () => Promise.resolve()
(async function() {
console.log('running async IIFE...')
await f()
})()
I'm being really dumb here. Why doesn't this async IIFE run?
const f = () => Promise.resolve()
(async function() {
console.log('running async IIFE...')
await f()
})()