JavaScript Tutorial in Hindi for Beginners [Part 29] - Math Object in JavaScript
In this video i will talk about Math Object in JavaScript. Math is a built-in object that has properties and methods for mathematical constants and functions. It’s not a function object. Math works with the Number type. It doesn't work with BigInt. Unlike many other global objects, Math is not a constructor. All properties and methods of Math are static. You refer to the constant pi as Math.PI and you call the sine function as Math.floor(x), where x is the method’s argument.