nodejs:0 和 空字符的比较

console.log(0 == '');//打印为true
console.log(0 === '');//打印为false

猜你喜欢

转载自blog.csdn.net/shunzi2016/article/details/108220089