Keagan Chisnall
1 min readDec 10, 2019

--

I’ve come across this issue with IIFE’s, but never once did I think about bringing in semicolons wholesale to deal with it. As it’s a pretty specific case, in the past I have just named and then called it, but I can see that in this case a single semicolon would be neater.

I’d love to hear of more situations where a semicolon is necessary though. I don’t use IIFE’s enough, and the work around is pretty trivial for that pesky semicolon to make a comeback!

--

--

Keagan Chisnall
Keagan Chisnall

Written by Keagan Chisnall

I have a background in process engineering, management, and consulting; but my passion is making systems and processes more efficient. Visit me: chisnall.io

Responses (1)