Math.sin

Returns the sine of a number.

Syntax

sin(value)

Parameters

Return value

A sine of the value.

Examples

Math.sin(1.5707963267948966)
1