In an if statement, Is it possible to put multiple “or” values for the same value easily?

前端 未结 0 929
一整个雨季
一整个雨季 2020-12-04 00:02

Question may be a little weird, so here\'s what I mean.

Is it possible to write the following code:

(score == 3) || (score == 10) || (score == 15) || (sc

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