JavaScript中 为何 ... 不能用于前面 const [...a,b] = [1,2,3] // => a===[1,2] b===3 其他语言有支持前置剩余运算符的么?怎么实现的.
阅读量:12
点赞量:0