js的==和===练习
2024-08-29 15:45:21
今天检查了一下JS的== 和===的区别
如下:
表达式 值
1==true true
1===true false
0==false true
0===false false
1==1 true
1=='1' true
1==='1' false
'w3c'.length==3 true
'w3c'.length=='3' true
'w3c'.length==='3' false
'w3c'.length===3 true
最新文章
- div水平居中和垂直居中
- C++ 隐式类类型转换
- jquery stop( ) 的用法 (转)
- map 几种遍历方法
- 【Eclipse】安装subclipse的Eclipse插件
- 使用jQuery解析xml时command节点解析失败
- AWS Summit 2014 San Francisco站总结
- Oracle10GODP连接11G数据库,出现ORA - 1017用户名/口令无效; 登录被拒绝 的问题
- 【BZOJ】【1391】【CEOI2008】order
- 从 NavMesh 网格寻路回归到 Grid 网格寻路。
- softlayerFastUploadVHDtoBS
- 初来乍到--------smarty
- 使用TcpTrace小工具截获Web Service的SOAP报文
- phpstorm9如何配置interpreter
- js bool true false 比较
- Oracle-函数大全
- Ubuntu上手动安装Kubernetes
- GO的初始简书(二)环境变量设置与说明
- 厉害了!阿里安全图灵实验室在ICDAR2017 MLT竞赛刷新世界最好成绩
- 解决 Scrapy-Redis 空跑问题,链接跑完后自动关闭爬虫