I don't understand what's wrong with this code


#1

var orangeCost = function(price) {
console.log(orangeCost * 5)
}
orangeCost(5)
it comes out with:
NaN
NaN


#2

In the function instead of doing

Do this:

console.log(price* 5);

Since in the function the user is inputting price. Hope this helped!