Chandra Gundamaraju
1 min readJun 26, 2018

--

var x = function(){…}(); is not a named function expression. It’s still using an anonymous function expression. In this case, either named or unnamed, you can omit outer parentheses.

I have explained this in the section with title: “When you can omit parentheses”

--

--

Chandra Gundamaraju
Chandra Gundamaraju

Written by Chandra Gundamaraju

For my day job @Salesforce, I write code for machines; But in my free time, I pursue this wild hobby of writing for humans. {Learn | Code | Read | Write}

No responses yet