JavaScript Math.asin()
JavaScript Math.asin()
The Math.asin() method is used to return the arcsine of a number as a value between PI/2 and -PI/2 radians. It will return Nan when the parameter is outside of 1 to -1.
Syntax:-
Its syntax is:- Math.asin(x)
Return:-
Its return is:- number between PI/2 and -PI/2
Further Explanation:-
Parameter | Description |
x | Required. A number. |