// ES5 a = list[0], rest = list.slice(1) // ES6 [a, ...rest] = list
js 数组分解 解构
原文:https://www.cnblogs.com/mengfangui/p/9494758.html