isFinite were introduced to enable more explicit checks without relying on casting: isNaN(NaN) // => true isNaN('foo') // => true Number.
確定! 回上一頁