ES6的rest参数和扩展运算符. ... rest参数用于获取函数的多余参数,这样就不需要使用arguments对象了。rest参数搭配的 ... JavaScriptECMAScript 6.
確定! 回上一頁