DEV Community

Cover image for JavaScript Math Object Demystified
Tanvir Ahmed
Tanvir Ahmed

Posted on

JavaScript Math Object Demystified

The JavaScript Math object is a built-in object that provides mathematical functions and constants for performing complex calculations. It is static, meaning you do not need to create an instance of it to use its methods. Instead, you can directly call its properties and methods using Math.

❑ Math Constants (Predefined Values)
✔️Math.PI 3.141592653589793
✔️Math.E 2.718281828459045

Top comments (0)