and 和 or

and: 如果所有值都为真,那么 and 返回最后一个值。

           如果某个值为假,则 and 返回第一个假值。

or: 如果有一个值为真,or 立刻返回该值。

           如果所有的值都为假,or 返回最后一个假值。

猜你喜欢

转载自blog.csdn.net/shm20000412/article/details/81478993