Answers for "NaN method javascript"

1

how to check when a number varibal = nan in ts

if (isNaN(number)) {
      number = 0;
}
Posted by: Guest on December-23-2020
1

nan in js

var val = Number.NaN;
Posted by: Guest on August-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language