Skip to content

Commit ff074d1

Browse files
authored
Update and rename rockPaperScissors.js to rockPaperScissors.js
1 parent 6e0d175 commit ff074d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ function playGameRPS(userChoice, compChoice) {
1616
console.log('Winner is User');
1717
break;
1818
case (userChoice === 'rock' && compChoice === 'paper'):
19-
console.log('Winner is Computer');break;
19+
console.log('Winner is Computer');
20+
break;
2021
case (userChoice === 'paper' && compChoice === 'rock'):
2122
console.log('Winner is User');
2223
break;

0 commit comments

Comments
 (0)