var x = -3; Math.abs(x); //|-3| = 3
var x = Math.acos(0.5); //x = 1.047197
var x = Math.asin(0.5); //x = 0.5235988
var x = Math.atan(5000); //x = 1.570596
var x = Math.atan2(5000,1); //x = 1.570596 var x = Math.atan2(2500,0.5); //x = 1.570596
var x = Math.ceil(2.023); //x = 3
var x = Math.floor(9.999); //x = 9
var x = Math.round(9.999); //x = 10 var x = Math.round(2.023); //x = 2 var x = Math.round(9.51); //x = 10
var x = Math.cos(Math.PI); //x = -1
var x = Math.sin(Math.PI/5); //x = 0.499999
var x = Math.tan(Math.PI/4); //x = 0.999999999
var x = Math.exp(2); //x = e2 = 7.389056
var x = Math.log(Math.E); //x = ln(e) = 1
var x = Math.sqrt(4); //x = 2
var x = Math.pow(3,4); //x = 81 var x = Math.pow(81,1/4); //x = 3
var x = Math.max(3,4,32,12,500,-34); //x = 500
var x = Math.min(3,4,32,12,500,-34); //x = -34
Math object built-in constants: