Example: <script>. number = NaN;. if (isNaN(number)) number = 0;. console.log(number);. </script> · Output: 0.
確定! 回上一頁