在javascript中,你想什么时候使用它:
(function(){ //Bunch of code... })();
对此:
//Bunch of code...
javascript closures iife self-executing-function
closures ×1
iife ×1
javascript ×1
self-executing-function ×1