📜  Rest in Object Destructuring - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:13.450000             🧑  作者: Mango
代码示例1
let { a, b, ...rest } = { a: 10, b: 20, c: 30, d: 40 };
console.log(rest); // { c: 30, d: 40 }