D.R.Y. Not printing?


#1



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

I put in the code below, and it said that I passed, but nothing prints to the preview screen? I am worried that it's not actually accurate and I'm not really sure how to check...

var orangeCost = function (price) {
    console.log = (price*5);
};
orangeCost(5);


#2

Your console.log() won't run as your syntax is incorrect thus it doesn't display anything. Remove the equal sign =


#3

I did, but then, it just says "console.log is not a function."


#4

Works on my side, refresh your page.


#5

Worked the second time I refreshed. The first time it printed "NaN Nan NaN."
Thanks!