Closed Swampen closed 3 years ago
The if would always return true, because comparing something to NaN is not the same as comparing it to 'NaN'
NaN
'NaN'
Fixes #44
Also fixes https://github.com/dnguyen800/air-visual-card/issues/35#issuecomment-760106624
thanks @Swampen !
The if would always return true, because comparing something to
NaN
is not the same as comparing it to'NaN'
Fixes #44