jQuery UI: Two semicolons after logical expression with function wrapper

Posted by Vincent on Stack Overflow See other posts from Stack Overflow or by Vincent
Published on 2010-04-26T18:55:42Z Indexed on 2010/04/26 19:03 UTC
Read the original article Hit count: 321

Filed under:
|

I was looking at some jQuery UI code, a found a weird behavior there:

jQuery.ui||(function(a){ /*... */ })(jQuery);;

The logical OR is clear for me, the function wrapper (still searching the correct name for it), too, but why two semicolons?

Thanks in advance

Vincent

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jquery-ui