📅  最后修改于: 2022-03-11 15:02:41.856000             🧑  作者: Mango
const car = [{id: "1", brand: "Opel"}, {id: "2", brand: "Haima"},{id: "3", brand: "Toyota"}];
const brands = car.map(({ brand }) => brand);