6. dry


#1

var orangeCoast = function (price){
var val = price * 5;
console.log(val);
};
orangeCoast(10);

  • Oops, try again. It looks like you didn't define orangeCost. -
    .

I can not understand what I'm doing wrong. But in the console out: 50


6. dry
#2

orangeCoast is not the same as orangeCost


#3

This is proof that you can not write code, when really want to sleep. ))
Thank you!


#4

Wait until you try to explain an answer to someone's code while sleep deprived :laughing:


#5

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