by Calvein · 14y ago · 0 comments
var x = function() {
// something
}
// avoid polluting global scope:
!function() {
// Some initialization.
}()Better or worse?
;function() {
// Some initialization.
}()
void function() {
// Some initialization.
}()Why aren't we just using the semicolon as it is required in any other (C-based) language?