[Solved] I can't find a missing semicolon :( 4/13please help find it


I can't find the missing semicolon - please help me

var userChoice = prompt("do you choose rock, paper or scissors?");
var computerChoice() = Math.random();
if (computerChoice <= 0.33) {
} else if (computerChoice <= 0.66) {
} else {


pretty sure you need one at the very end of your else statement my friend


Thanks for the help.


The problem is that you use return where you should just assign the value to computerChoice. return is a keyword that is only allowed to be used in functions.