(function( abc ) { console.log(abc) // ==> 1231 })( 1231 ); (function(window){ console.log(window) // ==> Window {speechSynthesis: SpeechSynthesis, caches: CacheStorage, localStorage: Storage, sessionStorage: Storage, webkitStorageInfo: DeprecatedStorageInfo…} })(window)