Syntax Error in Rock Paper Scissors


#1

I keep getting this message "SyntaxError: Unexpected token '}'. Expected ')' to end a argument list.

Any help is welcome, thanks.

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


#2

Where are the closing parentheses for your 2 last console.log statements?

console.log(computerChoice("paper")
console.log(computerChoice("scissors")

Put ending parentheses on them.


#3

Fixed it, but now i get this message.
TypeError: computerChoice is not a function. (In 'computerChoice("scissors")', 'computerChoice' is 0.8408703438472003)