The Math object is used for various forms of mathematical
calculations and operations. Such as above example of Math.random().
Math Object contains several properties that are standard
constants, such as pi = 3.14159…, as well as a large set of
methods that represent common trigonometric and algebraic functions. All
Math methods deal with floating-point numbers. Angles are expected to be
given in radians, not degrees.