|
|
|
|
|
by OriginalSyn
4911 days ago
|
|
The problem is if you're using 3rd party libs, especially if the 3rd party code is coming from developers with the philosophy that ASI is a good thing and intentionally leave out the semi-colons from their code. Adding the semi-colon to the code you control is safe and doesn't hurt anything. |
|
Adding a semicolon to the start of your IIFE doesn't really hurt, but it's a workaround more than a solution.