js 或 且 非

给定 x=6 以及 y=3,下表解释了逻辑运算符:

运算符    描述    例子
&&    and    (x < 10 && y > 1) 为 true
||    or    (x==5 || y==5) 为 false
!    not    !(x==y) 为 true
原文地址:https://www.cnblogs.com/siyunianhua/p/9373541.html