JS加减法

null和undefined与其他有意义的值比较==都为false,而false==undefined为true
console.log(1+ +"2"+"2") 输出结果为 "32"
console.log("A"-"B"+2) 输出结果为 NaN
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务