My JavaScript prompt isn't working in my function

前端 未结 0 1498
北恋
北恋 2020-12-06 02:12
 function game(rounds = 5) {
 let roundSPlayed = 0;
 let playerScore = 0;

 while (roundsPlayed < rounds) {
   let playerSelection = prompt(\'Rock! Paper! Scissor         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题