objects array showing up as strings code example
Example 1: array objects to array of one property
let result = objArray.map(a => a.foo);
Example 2: js objects in array
let car = cars.find(car => car.color === "red");
let result = objArray.map(a => a.foo);
let car = cars.find(car => car.color === "red");