逻辑运算符

逻辑运算符

逻辑或。 如果布尔表达式 exp1 和/或 exp2 为 true,则返回 true。 否则,返回 false。

If exp1 is true, this expression immediately returns true without evaluating exp2, so any side effects of exp2 are not taken into account.

示例:

false || true -> true

false || false -> false

true || whatever -> true(无论什么都不会被评估)

🌸 相关推荐 🌸

颀兰这个名字怎么样
365bet娱乐场在线

颀兰这个名字怎么样

📅 12-29 👀 6815
扁鹊心书/挟食冷物中华文库
365bet娱乐场在线

扁鹊心书/挟食冷物中华文库

📅 10-24 👀 4315
[拆解]各品牌安定器拆解 大家看看做工
365bet中文体育在线

[拆解]各品牌安定器拆解 大家看看做工

📅 10-11 👀 3833