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