===同值相等
Object.js严格相等
console.log(+0===-0) //true
console.log(NaN===NaN) //false
console.log(Object.is(+0,-0)) //false
console.log(Object.is(NaN,NaN)) //true
===同值相等
Object.js严格相等
console.log(+0===-0) //true
console.log(NaN===NaN) //false
console.log(Object.is(+0,-0)) //false
console.log(Object.is(NaN,NaN)) //true