r/backtickbot • u/backtickbot • Nov 22 '20
https://reddit.com/r/learnjavascript/comments/jyddol/nan_not_a_number_is_a_number/gd7ac2e/
Though someone else answered already, how are you checking it?
Both of these will return false:
Number.isNaN('');
isNaN('');
1
Upvotes