4/9 confusing


#1

Probability is not equal. If we use 'else' - it wouldn't be

computerChoice is between 0.67 and 1

It would be from 0.33 to 0.34, from 0.66 to 1. So fix bounds somehow.


#2

Close enough :wink:
But if you want you can as well use 1/3, 2/3 and else.


#3

But I can't do:

computerChoice = 'stone,paper,scissors'.split(',')[(Math.random()*3)|0];

It doesn't take this solution :disappointed_relieved:


#4

It would if you would use "rock" instead of "stone". Pretty nice solution why do you do this track again :smile:


#5

I googled this course for my new junior :relaxed: