Help Java Script 13


I have no idea:

var playChoice = function(paper, rock, scissors){

return "You win";

return "You lose";



On your if statement then you need to add arguments and parenthesis like this :

if(arguments) {

run this line of code

} else {

run this line of code.


Also why did you put this?

You are only suppose to call functions that way, and rock, paper, and scissors are not functions. And I don't think that your suppose to pass them as arguments in your function either.

Pleas post a link to the exercise so that I may help you some more.


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