Computer Choice: Part 2 Syntax Error


#1


Something's wrong with my syntax, and I think I need a pair of fresh eyes to help me spot it.


https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/0/4?curriculum_id=506324b3a7dffd00020bf661#


SyntaxError: Unexpected token {
Oops, try again. There was a problem with your syntax.


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


var computerChoice = Math.random() {
    if (computerChoice =< 0.33) {
        computerChoice = "rock";
    } else if (computerChoice < 0.66) {
        computerChoice = "paper";
    } else {
        computerChoice = "scissors";
    }
};


#2

var computerChoice = Math.random() {

why is there a { after math.random?

and lesser then or equal to (<=) you seem to have swapped the symbols


#3

There lied the problem! Thanks stetim94.


#4