In JavaScript, the global
isFinite()
function determines whether the passed value is a finite number.