JavaScript Math Object
Math Object
1. pi value property
it gives constant famous value as per name
console.log(Math.PI);
//OUTPUT = 3.14159265358...
2. Math. pow()
Math.pow(x, y) returns the value of x to the power of y
console.log(Math.pow(2, 3));
//2*2*2
...
dipeshjoshi4.hashnode.dev2 min read