Name
Math.acos() — compute an arccosine
Synopsis
Math.acos(x
)
Arguments
x
A number between −1.0 and 1.0.
Returns
The arccosine, or inverse cosine, of the specified value
x
. This return value is between 0 and π
radians.
Get JavaScript: The Definitive Guide, 6th Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.