asinintermediate// Inverse sine β result in radians
Math.asin(0) // β 0
Math.asin(1) // β 1.5707... (Ο/2)Use Math.asin() to find the angle (in radians) whose sine equals a given value.
Math.asin() is only defined for inputs in [-1, 1]. Values outside this range return NaN.
Challenge: Verify that Math.asin(2) returns NaN.