I learned to use closures to avoid polluting the global scope in JavaScript applications, something like this makes the trick:
(function() {
'use strict';
// my code goes here
})();
Recently, I found a similar code that I cannot explain myself:
;(function () {
'use strict';
// code goes here
}());
Anyone can help me to understand that?