how to check if the valu is not NaN javascript code example Example: check if value is NaN Number.isNaN(123)