Message from JavaScript discussions

June 2017

— Np :)

— 

FYI please do not post random links unless they are either relevant to the topic of the group, or are requested by another user. Thank you! :)

— Hello

— Const isNaN = x => x !== x

— Brilliant way to check

— +1

— What does that do?

— Return true if x is NaN, false otherwise

— I am somewhat surprised I am not getting it haha

— 

const x = NaN
x === x // false

— This ONLY happens for NaN

— Oh I see, parenthesis are not required for single argument lambda