Revisit NaN again!?! 😠
Daniel Ehrenberg (littledan)
What happened?
Why not write a fixed bit pattern for NaNs?
What does ES2015 say about NaN?
The Number Type
“to ECMAScript code, all NaN values are indistinguishable from each other.”
SetValueInBuffer ( arrayBuffer, byteIndex, type, value [ , isLittleEndian ] )
“An implementation must always choose the same encoding for each implementation distinguishable NaN value.”
What does ES2015 say about NaN?
Why would property writes make a new NaN
let x = new Array(6)
for (let i = 0; i < x.length; i++) x[i] = 0.5
NaN and information leaks