Lesson 3, says "Math is not defined"?



It keeps saying math not defined, what am i doing wrong? I've tried adding 0,1 between the brackets after random.

var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = math.random();


math.random();  // javasctipt is case_sensetive

m should be capital


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