What does this program print?

from Data types
Node 24 intermediate 2 min

What does this program print?

JavaScript
console.log(JSON.stringify([
  NaN === NaN,
  Object.is(NaN, NaN),
  [NaN].includes(NaN),
  new Set([+0, -0]).size,
]));
Open in playground
Report an error