
jitendra goyal
3,752 Pointsfunction getRandom( upper ) { return Math.floor(Math.random() * upper) + 1; }
function getRandom( upper ) { return Math.floor(Math.random() * upper) + 1; }
getRandon(12);
bummer : Answer is incorrect.
1 Answer

Greg Adams
13,267 PointsHi jitendra- Looks like you just mis-spelled getRandom
Karolin Rafalski
11,362 PointsKarolin Rafalski
11,362 PointsGetRandom
You have a typo that reads getRandon
I hope that helps!