You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is mistype for ! sign recommendation on modules section. Actually I could not see how exclamation sign could help you in case missing semicolon. The following example will through error.
function abc() {} abc() !function bca() {}();
It would be much helpful to advice put ';' sign instead
function abc() {} abc() ;(function bca() {})();
and
function abc() {} abc(); ;(function bca() {})();
both equally safe for minification/concatenation.
Best
The text was updated successfully, but these errors were encountered:
Sorry for missing that conversation.
This makes sense in that context, I've learn something new today:).
Possibly as soon this is a general javascript recommendations it might be useful to put proviso, so people did not tipped out here, like me did.
I believe there is mistype for
!
sign recommendation on modules section. Actually I could not see how exclamation sign could help you in case missing semicolon. The following example will through error.It would be much helpful to advice put ';' sign instead
and
both equally safe for minification/concatenation.
Best
The text was updated successfully, but these errors were encountered: