JavaScript Objects The Math Object- Math sin() - Javascript Objects

What is JavaScript - Math sin Method?

This method returns the sine of a number. The sin method returns a numeric value between -1 and 1, which represents the sine of the argument.


Its syntax is as follows −

Parameter Details

x − A number

Return Value

Returns the sine of a number.


Try the following example program.


First Test Value : 0.479425538604203

Second Test Value : 0.8939966636005578

Third Test Value : 0.8414709848078965

Fourth Test Value : 1

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Javascript Objects Topics