Implicit return object

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,
};
🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses