DEV Community

loading...

Discussion on: What I have learned from the book "Javascript Grammar II" by @js_tut

Collapse
dasmurphy profile image
murphy

You need to try this in Chrome ;)

((a) => {console.log(a)})(1)

And you have parameters on anonymous functions.

Collapse
veslav3 profile image
Roy Honders Author

Wow, going out of your way don't you? :D