we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "array of dictionaries get values by key javascript"
Monty
30 Feb 2017
1const car = [{id: "1", brand: "Opel"}, {id: "2", brand: "Haima"},{id: "3", brand: "Toyota"}];
2
3const brands = car.map(({ brand }) => brand);