摘要:
语法 用于函数调用 myFunction(...iterableObj); 用于数组字面量 [...iterableObj, 4, 5, 6] 函数传参 目前为止,我们都是使用Function.prototype.apply方法来将一个数组展开成多个参数: function myFunction(x, y, z) { } var args = [0, 1, 2]; myFunction.a... 阅读全文
posted @ 2018-07-23 10:55
{前端开发}
阅读(280)
评论(0)
推荐(0)

浙公网安备 33010602011771号