Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
basic
018number_isNaN.js
018number_isNaN.js
/** * Check if the result is NaN */ var y, tf; y = parseInt('some text', 10); tf = isNaN(y) ? 'Result is not number (NaN)' : 'Result is not NaN, probably is number.'; console.log(tf);
Reload page
Preview
W3C validation
Edit Code
JS Console