ES5
const make = 'Ford';
const model = 'Mustang';
const engine = '5.0';
const car = {
make: make,
model: model,
engine: engine,
};
ES6
const make = 'Ford';
const model = 'Mustang';
const engine = '5.0';
const car = {
make,
model,
engine,
};