3/9 console.log won't log "console.log is not a function”


#1

var userChoice = ("Do you choose rock, paper or scissors?")
prompt (userChoice)

var computerChoice = Math.random();
console.log(computerChoice);


#2

I pasted that in and it works for me. Do you have any other code that might be mucking things up?

vvAlso, instead of thisvv
var userChoice = ("Do you choose rock, paper or scissors?")
prompt (userChoice)

vvYou can do thisvv
var name = prompt("Do you choose rock, paper or scissors?")