.sin

Description

Sin is a bracketless method, that returns the sine of its input value. It may conflict with object keys.

Parameters

Sin takes no parameters

Usage On Numbers

num = 90.sin
// the input value is in degrees
// this does the sine of 90 degrees, not the sine of 90 radians

log num
// returns 1

Last updated