标签:type prototype argument cal 数组 var bsp console ice
function foo1(){var s=Array.prototype.slice.apply(arguments);console.log(arguments);console.log(s); console.log(s instanceof Array);}
或者
function foo1(){var s=Array.prototype.slice.call(arguments);console.log(arguments);console.log(s); console.log(s instanceof Array);}
标签:type prototype argument cal 数组 var bsp console ice
原文地址:http://www.cnblogs.com/jcbo/p/6845566.html