javascript每日进阶-0的问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/webofrxy/article/details/81735318

今天看到一个问题:请问alert(!0&&9)的结果是什么?

console.log(!0) //true
console.log(!0&&9);//9

猜你喜欢

转载自blog.csdn.net/webofrxy/article/details/81735318