how to find the position of a key in a dictionary javascript code example
Example: 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);