How do I make an output that says “You typed a word, we need a number” in JS with conditional if?

前端 未结 0 515
感情败类
感情败类 2021-02-04 05:53

I need to have a bunch of numbers asked by prompt, depending on the number there\'s a message, kind of fortune cookies, but if the user enters a word it needs to say "You t

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