vrcca
0
Q:

js dictionary to extract the same key bvalues

const car = [{id: "1", brand: "Opel"}, {id: "2", brand: "Haima"},{id: "3", brand: "Toyota"}];

const brands = car.map(({ brand }) => brand);
0

New to Communities?

Join the community