Number.isFinite() returns true if the value is a finite, legal number:
Number.isFinite() is not supported in Internet Explorer 11 (or earlier).