Number.isSafeInteger()
Term side of the Card
Topic: Number
Unit title: Number.isSafeInteger()
Categories: Method
Explanation side of the Card
Explanation: The static method that checks if a value is a safe integer, meaning it's an integer that can be exactly represented by JavaScript without rounding errors. Safe integers range from -(2^53 - 1) to 2^53 - 1.
Browser compatibility:
- The chrome browser supports this feature starting from version 34
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 32
- The safari browser supports this feature starting from version 9
Availability: