📅  最后修改于: 2022-03-11 15:01:48.240000             🧑  作者: Mango
代码示例6
const object = { a: 5, b: 6, c: 7 };
const picked = (({ a, c }) => ({ a, c }))(object);
console.log(picked); // { a: 5, c: 7 }