Why doesn't the code work?

  • 0
    let a = parseInt ();
    console.log (a);
    if (a === NaN) {
    console.log (3);
    why is the number 3 not displayed?
    JavaScript Olivia Lambert, Dec 17, 2019

  • 1 Answers
  • 0
    due to the peculiarity of the meaning

    you can read here about the feature and how you can check such values.


Your Answer
To place the code, please use CodePen or similar tool. Thanks you!