Have a super simple problem but i cant figure out the error


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

var computerChoice = Math.random();

console.log = (computerChoice);

The error i get back asks if i have remembered to log computer choice on my console even though the random number is printed out. Thoughts?


You're assigning to console.log


Ahhh I see. Unfortunately when I changed my code to: console.log (computerChoice); I got an error on the preview screen stating

TypeError: 0.8986813388764858 is not a function (evaluating 'console.log (computerChoice)')

Am I still missing something?


Well you assigned a number to console.log
..guess what you get when you use console.log

refresh the page.