1.Array.from(类数组)
2.拓展运算符:[... 类数组]
function sum(a,b) {
console.log(arguments, "是否是数组", Array.isArray(arguments))
console.log(Array.from(arguments) , "是否是数组", Array.isArray(Array.from(arguments)))
console.log([...arguments], "是否是数组", Array.isArray(Array.from([...arguments])))
}
sum(1,2)