&&
Logical and
前一个值为true,那么返回下一个的值
短路操作,值为false时,不再继续,且返回false。
&
bitwise and
100011 //35
& 111001 //57
---------
100001 //35 & 57 == 33
https://stackoverflow.com/questions/7310109/whats-the-difference-between-and-in-javascript
https://www.jianshu.com/p/07a1cabe6484
在JavaScript中 位操作符 只有1个功能:进行位运算。
|| Logic or
前一个值false,返回下一个的值
短路,前一个为true,不再继续,并返回true
| bitwise or