5 oranges


#1


I don't get whats wrong. Can someone help me?


https://www.codecademy.com/en/courses/javascript-beginner-en-6LzGd/1/1?curriculum_id=506324b3a7dffd00020bf661


Oops, try again. Hmm, it looks like your orangeCost() function doesn't return 25 when the cost of an orange is 5.


var orangeCost  = function (price){
   console.log ("the cost today is "+ price*5);
};
orangeCost(5);


#2

just log the price without additional string, it is what throws the error


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.