Math
Methods
console.log(Math.PI);

console.log(Math.round(4.5)); //returns the value of x rounded to its nearest integer
console.log(Math.pow(10, 2)); //100
console.log(Math.sqrt(10));
console.log(Math.abs(-6));
console.log(Math.sin(90/180*Math.PI)); //1
console.log(Math.random());
		
Reference
  • JavaScript reference