日期:2014-05-16 浏览次数:20356 次
var param = ["a","b","c"] function fun(p1, p2, p3){ //具体实现,用到p1,p2,p3 }
var param = ["a", "b", "c"] function fun(p1, p2, p3) { //具体实现,用到p1,p2,p3 alert(p1+'\n'+p2+'\n'+p3) } fun.apply(window,param)