Help me with 6 please!


#1

I put in:

var orangeCost = function(price) {
    var val = price*5
    console.log("You have " + val + " oranges!")
}
orangeCost(6)

Which prints out

You have 30 oranges!
You have 25 oranges!

Where does the 25 come from? Is there something wrong with my code?


#2

Test function running the code with orangeCost(5) and comparing the output to the expected output. The problem is that your output message is too descriptive the test function really expects just the pure number.