TIL: In JavaScript, isNaN("") returns false, but parseInt("") returns NaN. o_o
isNaN("")
parseInt("")
isNaN(parseInt("")) == true
In that case you can use Number.isNaN since you’ll be passing in a number anyway
Number.isNaN