DEV Community

Discussion on: JS being odd. Some weird things about javascript.

Collapse
 
jenbutondevto profile image
Jen

NaN has always been my favourite JS quirk. Cue some bored engineers having a conversation that goes a little like this:
dev 1: NaN is not a number
dev 2: NaN IS a number
dev 1: NaN is no-

Collapse
 
martinemanuelmaldonado93 profile image
MartinEmanuelMaldonado93 • Edited

Nan its a weird number, because IIFE system uses to express a something that it's not a number.... ahhh js I love that guy xD