Discuss / JavaScript / 来个大佬挑刺了

来个大佬挑刺了

Topic source

ES6标准引入了rest参数,上面的函数可以改写为:

es6没引入rest参数,引入的是...参数剩余操作符,上面的说法容易误导新手,rest和arguments一样是一个固定属性,rest换成rest1也行,主要的是三个点...剩余操作符

篆愁君

#4 Created at ... [Delete] [Delete and Lock User]

拓展运算符

□▼□

#5 Created at ... [Delete] [Delete and Lock User]

哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈, 哪个大佬来挑刺了


  • 1

Reply