简单教程
提交运行
代码编辑器:
<script> document.write(isNaN(123)+ "<br>"); document.write(isNaN(-1.23)+ "<br>"); document.write(isNaN(5-2)+ "<br>"); document.write(isNaN(0)+ "<br>"); document.write(isNaN("Hello")+ "<br>"); document.write(isNaN("2005/12/12")+ "<br>"); </script>
运行结果: