<script> a=1; alert(isNaN(1)) alert(isNaN("1")) alert(isNaN("a")) alert(isNaN(a)) </script> <script type="text/vbscript"> b=1 msgbox isNumeric(1) msgbox isNumeric("1") msgbox isNumeric(b) msgbox isNumeric("b") </script> [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]