参考资料:
http://dancewithnet.com/2008/05/07/javascript-anonymous-function/
http://www.ibm.com/developerworks/cn/web/wa-javascript.html
http://shiningray.cn/functional_javascript_programming.html
var s=function(a,b){return a+b}(5,3);
alert(s);//8
var
阅读全文类别:javascript & dom & ajax 查看评论
浙公网安备 33010602011771号