Name
Math.sin( ): compute a sine â ECMAScript v1
Synopsis
Math.sin(x
)
Arguments
-
x
An angle, in radians. To convert degrees to radians, multiply by 0.017453293 (2Ï/360).
Returns
The sine of x
. This return value
is between â1.0 and 1.0.
Get JavaScript: The Definitive Guide, 5th 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.