function div(x) { if (isFinite(1000 / x)) { return 'Number is NOT Infinity.'; } return 'Number is Infinity!'; } console.log(div(0)); ...
確定! 回上一頁