会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
woshidaye
博客园
首页
新随笔
联系
管理
订阅
2018年12月11日
JavaScript基础---运算符优先级
摘要: console.log(4&&5) //5 console.log(0&&0) //0 console.log(0&&5) //0 console.log(5&&0) //0 // &&中如果两边都没有0,则取后面的那个。 // 如果有0,或者两个0,则取0 console.log(4||5) //
阅读全文
posted @ 2018-12-11 13:37 江苏丶刘德华
阅读(125)
评论(0)
推荐(0)
编辑
公告