xxxxxxxxxx
<html>
<body>
<script>
document.write(Number.isNaN(10) + '<br>'); // false
document.write(Number.isNaN('5') + '<br>'); // false
document.write(Number.isNaN(NaN)); // true
</script>
</body>
</html>
xxxxxxxxxx
<html>
<body>
<script>
document.write(Number.isNaN(10) + '<br>'); // false
document.write(Number.isNaN('5') + '<br>'); // false
document.write(Number.isNaN(NaN)); // true
</script>
</body>
</html>