If statements with multiple or statements

前端 未结 0 1516
时光说笑
时光说笑 2020-11-22 03:57

Does anyone else hate long if statements with ||. Consider the situation where you have to check if single variable equals to any of n values like

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