- expression1 && expression2
- True if both expression1 and expression2 are true.
- expression1 || expression2
- True if either expression1 or expression2 is true.
&& and || operators do not evaluate expression2 if the value of expression1 is sufficient to determine the return value of the entire conditional expression. 
沒有留言:
張貼留言