24.100. Math: mathematical functions and constantsECMAScript v124.100.1. SynopsisMath.constantMath.function( ) 24.100.2. Constants
24.100.3. Static Functions
24.100.4. DescriptionMath is an object that defines properties that refer to useful mathematical functions and constants. These functions and constants are invoked with syntax like this: y = Math.sin(x); area = radius * radius * Math.PI; Math is not a class of objects as Date and String are. There is no Math( ) constructor, and functions like Math.sin( ) are simply functions, not methods that operate on an object. 24.100.5. See AlsoNumber |