Return the arcsine of a number:
The result will be:
The asin() method returns the arcsine of a number as a value between -PI/2 and PI/2 radians.
Note: If the parameter x is outside the range -1 to 1, the browser will return NaN.
Tip: 1 will return the value of PI/2.
The asin() method is supported in all major browsers.
|x||Required. A number|
|Number||A Number, from -PI/2 to PI/2, or NaN if the value is outside the range of -1 to 1|
Your message has been sent to W3Schools.