例一 括号内可见
var times = 0;(function hello(){ console.log('hello~'); ++times<2&&hello();})();
例二 括号外不可见
(function hello(){ console.log('~hello');});console.log(hello);
本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728