Javascript Math functions  Return to Index 

Standard stuff

Things to do with sums in javascript. The Math object is a top-level, predefined JavaScript object. You can automatically access it without using a constructor or calling a method. 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.sin(x), where x is the method's argument. Constants are defined with the full precision of real numbers in JavaScript.


 See the Code for this page