25

true || false && false

 5 years ago
source link: https://juejin.im/post/5c3462adf265da613622a33d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一道简单的判断题,参与者10余人,但是只有一人回答对了,所以我决定写篇文章 同事:true || false && false,这道题结果是啥 我:true 同事:执行顺序是啥 我:&&的优先级比较高,所以 false &amp

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK