Array.prototype.slice.call(arguments)将带有length属性的对象转换为数组。
例如:
var a = {length:3,0:'first',1:'second',2:'three'};
var b = Array.prototype.slice.call(a);// ["first", "second","three"]
var c = Array.prototype.slice.call(a,1);// ["second","three"]
var d = Array.prototype.slice.call(a,2);// ["three"]