HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <script> var num= 25; if(num === Number.NaN) document.write("variable 'num' is NaN") else document.write("variable 'num' is not a NaN") </script> </body> </html>
OUTPUT
×

Save as Private