abs() pow() and sqrt() in javascript

Math.abs()    - The Math.abs() function returns the absolute value of a number.
Math.pow()  - The Math.pow() function returns the base to the exponent power, that is, baseexponent.
Math.sqrt()   - The Math.sqrt() function returns the square root of a number.




Example Program:- (Editor)


Editor is Loading...

Advertisement

0 nhận xét:

Đăng nhận xét