主页
JavaScript
JavaScript ECMAScript 2018
tryjs_array_rest1
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript Arrays
Rest Elements
The rest operator (...) allows us to destruct an array and collect the leftovers: