D.r.y


#1

var orangeCost = function(orangePrice) {
totalCost = (orangePrice * 5);
console.log("totalCost");
};
orangeCost(5)

It's not working. Where am I going wrong?


#2

remove the "" from your totalCost variable in console.log("totalCost");


#3

GOT IT! Thanks I was trying to have the page read totalCost 25