sin
The Math.sin() method returns the sine of a number.
Syntax
Math.sin(x)
Returns
-1 to 1. The sine of the number. NaN if the parameter is not numeric.
Parameters
- x (float)
- A number representing radians.