¿Cuál es la salida de este código?
const product = 'Apple';
const quantity = 5;
const price = 2.5;
console.log(`You bought ${quantity} ${product}(s) for a total of $${quantity * price}.`);
¿Cuál es la salida de este código?
const product = 'Apple';
const quantity = 5;
const price = 2.5;
console.log(`You bought ${quantity} ${product}(s) for a total of $${quantity * price}.`);