how to create objects and put them in arrays javascript code example Example: js objects in array let car = cars.find(car => car.color === "red");