//sample solution
// Declare a variable "player" and ask the user to supply the string,
// "rock", "paper", or "scissors".
var player = prompt('Choose "rock", "paper", or "scissors":');
// Now print "player" to the console to test your code.
console.log("You picked "+player+".");
No comments:
Post a Comment