主页
JS 参考手册
JavaScript 逻辑或运算符
tryjsref_oper_or2
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript Operators
The || Operator (logical OR)
The || operator returns true if one or both expressions are true, otherwise false: