Returns the arcsine (in radians) of a number.
| Method of Math | |
|
Static |
|
| Implemented in: | JavaScript 1.0, NES 2.0 |
| ECMA Version: | ECMA-262 |
The asin method returns a numeric value between -pi/2 and pi/2 radians for x between -1 and 1. If the value of number is outside this range, it returns NaN.
asin is a static method of Math, so you always use it as Math.asin(), rather than as a method of a Math object you created.
Page last modified 07:01, 15 Sep 2007 by Mgjbot