function tipCalculator(nonTipTotal) { var totalWithTip = nonTipTotal * 15; console.log(`You should pay {totalWithTip} including tip`) } function tipCalculator();Se supone que debe imprimir el extracto del total con la propina incluida.
¿Tal vez esto?
function tipCalculator(nonTipTotal) { const totalWithTip = nonTipTotal * 1.15; console.log(`You should pay ${totalWithTip} including tip`) } const billTotal = 25 // get your bill input somehow - depends how this runs tipCalculator(billTotal);Le falta el símbolo $ antes del corchete de apertura. Debería ser ${totalWithTip} en lugar de {totalWithTip}
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals