function calling it self code example Example: self calling function (function(){ console.log(Math.PI); })();