Number.isSafeInteger() returns true if a value is a safe integer and of datatype Number:
Number.isSafeInteger() is not supported in Internet Explorer 11 or earlier.