All properties and methods of the Math object are static and can therefore be accessed directly from the prototype without having to create a new instance of the object.
The constants available in the Math object are:
Some of the methods available in the Math object:
As an example, here’s the floor() and the random() methods used in combination to create a random number generator.
A list of all methods and their definitions can be found here.