'use strict';

const formatProduct = ({ name, price }) =>
  `* ${name} - buy now for only $${price}`;

const product = {
  name: 'Klingon Letter Opener',
  category: 'Office Warfare',
  price: '19.99',
};

console.log(formatProduct(product));
