Don't Repeat Yourself : Result printing twice


#1

var orangeCost = function (price){

console.log("The total cost of 5 oranges is "+ (price * 5));
};

orangeCost(5);

Its giving me answer twice.


#2

That is the codecademy consoles doing, as explained here by haxor

Nothing to worry about


#3

That's just a glitch. Shouldn't be causing you any real problems though


#4

Didn't work for me too until I simply remove "The total cost of 5 oranges is" and just write (price * 5)