有没有办法重组解构任务的一部分?

Is there a way I can restructure part of a destructuring assignment?

假设我有一个数组数组,如下所示:

var arrs = [
    [1, "foo", "bar", "baz"],
    [2, "bar", "baz", "qux"],
    [3, "baz", "qux", "thud"]
];

我想使用ES6的解构赋值,将每个数组的第一个元素作为一个单独的变量,并将其余元素重新打包为另一个数组。在伪代码中:

for (let [first, *rest] of arrs) { // What is the proper way to do *rest?
    console.log(first); // Should be a number
    console.log(rest); // Should be an array of strings
}

这样的事情可能吗?

这就是 ... 的作用:

for (let [first, ... rest] of arrs) {