2 ms·
I'm not sure I got the explanation right. Is this syntax sugar for `(function(){ ... })()` ?
by kaoD 11y ago
I'm not sure I got the explanation right. Is this syntax sugar for `(function(){ ... })()` ?
- acjohnson55 11y agoMore or less, with `return`s sprinkled in that desugaring. Or you might say the syntax you quoted is a workaround for lack of expression-orientedness.