How to have javascript wait for user input before executing the next line

后端 未结 0 767
灰色年华
灰色年华 2020-12-17 07:02

I am relatively new to node.js and am working on a blackjack game. I am attempting to loop a function that asks for the user\'s input, and acts accordingly based off of that

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