function list() {
//两者皆可将类数组对象装换为数组
// return Array.prototype.slice.call(arguments);
return [].slice.call(arguments)
}
var list1 = list(1, 2, 3); // [1, 2, 3]
console.log(list1)
console.log(Object.prototype.toString.call(list1)) // [object Array]