// IIFE
(function () {
console.log('Awesome');
}());
result = (function(a, b){
return a - b;
})(100, 42);
console.log(result); // 58
(() => {
/* */
})()
(function() {
/* */
})()
//IIFE
//Need to wrap function in ()
(function() {
console.log("I will only run once");
})(); //Immediately calling it.
//Arrow Function
(() => console.log("Will only run once Arrow Function"))();