Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
I was trying to use NaN using Firefox console for JavaScript but it is not returning the true value. Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

You can try the below code which will help you with NaN.

isNaN(parseFloat("geoff"))

I hope this will help.

Want to become a Java expert? Join Java Course now!!

Related questions

0 votes
1 answer
+13 votes
2 answers
asked May 26, 2019 in Java by tommas (1k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...