短路运算符

1.与 : 左边为真 返回 右边
2.或 : 左边为假 返回 右边

转载于:https://blog.51cto.com/13550695/2115998

你可能感兴趣的:(短路运算符)