javascript闭包传参就这么简单

var query = (function (a) {
return a;
})('fx');
alert(query);

posted @ 2015-01-15 17:03  火腿骑士  阅读(131)  评论(0编辑  收藏  举报