4 ms·
The biggest problem I have with JS in term of readability is IIFE. I know what it does, but it just looks ugly when you have hundreds of them in a program. The
by fireattack 7y ago
The biggest problem I have with JS in term of readability is IIFE. I know what it does, but it just looks ugly when you have hundreds of them in a program. The "semicolon in front" is even worse, needless to say.
There gotta be a better way to design syntax for an async language.. right?
- layoutIfNeeded 7y agoWait, why do you need IIFE in post-ES6 JS? Just use let/const.
- fireattack 7y agoWell, OP's example is using it, but I think it's for top level async/await (not a JS dev here)?