# ES6 | Math

• Last Updated : 02 Jun, 2022

The ES6 Math object contains so many properties and methods to perform some mathematical functions. The ES6 is an object that can be called without creating it. With the help of ES6 Math in JavaScript, you can store integers in the form of binary and octal notation. There are so many properties and functions are available in ES6 Math. Also in the function section, there are lots of variety of functions mentioned below.

ES6 Math() Functions type: Following list shows the functions types of ES6 Math object:

• Exponential Functions
• Logarithmic Functions
• Miscellaneous Algebraic Functions
• Trigonometric Functions

ES6 Math properties list with there brief description: Following is the list of ES6 Math properties along with their brief descriptions in it:

ES6 Math Exponential Functions: There are so many functions for like square root, cube root, and powers of e, as shown in the below table. The Math.pow() is the basic function of the Exponential Functions. Some other functions are listed below along with their brief descriptions:

ES6 Math Logarithmic Functions: In the Logarithmic section there are 4 functions but the basic one is Math.log() function, this is natural logarithmic. The ES6 introduce the Math.log10() function in JavaScript before ES6 there is no log10 in the entire JavaScript. Other functions are listed below:

ES6 Math Miscellaneous Algebraic Functions: There are lots of functions in this section mentioned below with the brief description. Following are some of the listed functions:

ES6 Math Trigonometric Functions: There are lots of functions in Trigonometric Functions but all the functions deals with the radians but the degree is not valid in this section. Following are some of the listed trigonometric functions:

There is one more function which doesn’t belongs to any above mentioned categories that is Math.random() function. This function returns the random number between 0 and 1.
Below example illustrate the function:
Example:

## javascript

 ``

Output

`The random function value : 0.603934617864549`

Note: The Edge and the Safari is the first two browser that support all the ES6 features.
Supported Browsers: The browsers supported by ES6 Math are listed below: