JavaScript » Math » cos

Syntax:
Math.cos(x)

This method returns the cosine of a number, which will be a numeric value between -1 and 1.