Y
Hacker News
new
|
ask
|
show
|
jobs
by
layoutIfNeeded
2307 days ago
Wait, why do you need IIFE in post-ES6 JS? Just use let/const.
1 comments
fireattack
2307 days ago
Well, OP's example is using it, but I think it's for top level async/await (not a JS dev here)?
link
crooked-v
2307 days ago
Top level await is in Stage 3, so it'll be baked into the general system before too long.
link
kehers
2307 days ago
Yup
link