Name

Math.asin( ) — compute an arc sine

Availability

JavaScript 1.0; JScript 1.0; ECMAScript v1

Synopsis

Math.asin(x)

Arguments

x

A number between -1.0 and 1.0.

Returns

The arc sine of the specified value x. This return value is between -π/2 and π/2 radians.

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.