Math.sign()
Term side of the Card
Topic: Math
Unit title: Math.sign()
Categories: Method
Explanation side of the Card
Explanation: The static method that returns the sign of a given number, indicating whether it's positive, negative or zero. For example, `Math.sign(-5)` returns -1.
Browser compatibility:
- The chrome browser supports this feature starting from version 38
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 25
- The safari browser supports this feature starting from version 9
Availability: