我知道在JavaScript中你可以这样写:
if (A && B) { do something }
但是,我如何实现这样的OR:
if (A OR B) { do something }
https://stackoverflow.com/questions/2363840
相似问题