I looked at some jQuery UI code, found a strange behavior there:
jQuery.ui||(function(a){ })(jQuery);;
The logical OR is clear to me, the shell of the function (still looking for the correct name for it), but why two semicolons?
Thanks in advance
Vincent
EDIT: Just found another weird thing: in google apis version only one semicolon is used. But when you create your built-in function http://jqueryui.com/download , there are two semicolons.
source
share