1.
console.log([1,2]+[3,4]) //输入结果为"1,23,4"
2.判断题
Object() == false //false Object(0) == false //true 拓展备注: Object(0) == 0 //true Object(0) === 0 //false
归纳:¹ 空对象 ‘==’ 是true
² Object(0) == 0
1.
console.log([1,2]+[3,4]) //输入结果为"1,23,4"
2.判断题
Object() == false //false Object(0) == false //true 拓展备注: Object(0) == 0 //true Object(0) === 0 //false
归纳:¹ 空对象 ‘==’ 是true
² Object(0) == 0