asin

The Math.asin() method returns the arcsine (in radians) of a number.

Syntax

asin(x)

Returns

-PI/2 to PI/2. NaN if the parameter is not numeric or outside the range of -1 to 1.

Parameters

x (float)
A number.