Javascript Anonymous Function Called

来源:互联网 发布:淘宝联盟app怎么返利 编辑:程序博客网 时间:2024/06/04 17:44

(function(){  alert('shit');})();


function is anonymous type, with a brackets around it, it means to return an object reference, then the return object is an anonymous function, and now we can call the anonymous function just like "FUNCTIONNAME(PARMS)";



0 0
原创粉丝点击