Math.asin(x) 會回傳 x 的反正弦值,結果以弧度表示,範圍通常在 -PI/2 到 PI/2 之間。
Math.asin(1)
參數必須介於 -1 到 1 之間,若超出範圍,結果會是 NaN。
這個方法常用於三角函數反推與角度計算。