SOURCE

console.log(NaN === NaN, 0 === -0)

console.log(Object.is(NaN, NaN), Object.is(0, -0))

const a = [0, NaN]
console.log(a.includes(NaN), a.includes(-0))
console 命令行工具 X clear

                    
>
console