132

JavaScript:(a==1 && a==2 && a==3)能输出true么?

 6 years ago
source link: https://juejin.im/post/5a63f9a451882573473ddba4
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.
如果你能确切的答出可以,那恭喜你,你可以绕道了 前言 有人会说,这个问题好奇葩,放在别的语言里,这要是能输出true,估计是见鬼了,但是你别说,放在js中好真有可能。最近在一个人的推特上提了一个问题: 问题:Can (a==1 && a==

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK