Answers for "array of dictionaries get values by key javascript"

0

array of dictionaries get values by key javascript

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

const brands = car.map(({ brand }) => brand);
Posted by: Guest on November-06-2020

Code answers related to "array of dictionaries get values by key javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language