📜  js 自执行匿名函数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:46.355000             🧑  作者: Mango

代码示例1
/*An IIFE (Immediately Invoked Function Expression) is
a JavaScript function that runs as soon as it is defined. 
The name IIFE is promoted by Ben Alman in his blog.*/

(function () {
  statements
})();