Well how about I dissect your code real quick for you and perhaps we can get to a solution together!

## Your Code:

```
//Your Code
var compare = function(choice1, choice2) //Missing open bracket
if (choice1 === choice2) { //One open bracket
return "The result is a tie";
} //Closed bracket
else if(choice1 === "rock") { // One Open bracket!
if(choice2 === "scissors") { // Two Open brackets!
return"rock wins";
} // One Open bracket
else { // Two Open brackets
return "paper wins";
} // One Open bracket
} // Zero Open Brackets
```

Right now you're missing an open and closing bracket for your function and it's causing further errors

So what @leonhard_wettengmx_n means when you're assigning an *anonymous* Function He means you are not using opening and closing curly brackets to create a FUNCTION-BODY. I hope I explained this thoroughly enough for you!