m***t 发帖数: 254 | 1 false && true || true = ?
short circuit logic should return false, right? | f*******n 发帖数: 12623 | 2 You are forgetting operator precedence.
&& has higher precedence than || | a9 发帖数: 21638 | 3 why?
【在 m***t 的大作中提到】 : false && true || true = ? : short circuit logic should return false, right?
| l*******b 发帖数: 2586 | 4 这跟short circuit 没关系啊。。。
【在 m***t 的大作中提到】 : false && true || true = ? : short circuit logic should return false, right?
|
|