This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// closure pattern | |
( function( window, document, undefined ) { | |
console.log('Hello world!'); | |
})( this,this.document ); | |
// single-lettered minified version | |
(function(w,d,u){console.log('Hello world!');})(this,this.document); | |
// self executing anonymous function | |
(function(){})() |