var haha = function (x) { (function (x) { return window.alert(x); })(x) }; var hehe = new haha('Hello World');//立即执行并弹框'Hello World' typeof(hehe);//返回一个'object'对象集
这是一个可以"重用"的匿名函数吗...?
这整个过程怎么解析...?
pardon110
相关分类