What is the problem? I am not really sure about it.

It says a problem in my syntax and unexpected token.

var game = function(Rock,Paper,Scissors){
        return "You beat Scissors but lose to Paper";
        return "You beat Rock but lose to Scissors";
        return "You beat Paper but lose to Rock";


Is it because it says "elseif"


There are other errors, but no matter. This is not the lesson for Rock, Paper, Scissors... The next unit is.

You will not be writing this on your own, but must follow the instructions closely.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.