Given an object containing information about a car and a date, add the given date to the car object as 'lastOilChange'.
// input:
const car = { make: 'Toyota', model: 'Corolla', year: 2015, color: 'Blue' },
const date = '10/22/2022';
// output:
(Ctrl + ')
Loading...
/* output */
Next(Ctrl + y)