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