标签:
function foo() { //var var1=Array.prototype.slice.call(arguments); var var1=[].slice.call(arguments); console.log(var1.length); } foo(0,1,2,3,4,5,6);
javascript array.property.slice.call
原文地址:http://www.cnblogs.com/zyip/p/4451032.html