JAVASCRIPT MATH.SIGH

javascript math.sigh

javascript math.sigh

Blog Article

https://docs.vultr.com/javascript/standard-library/Math/sign

javascript math.sigh
In JavaScript, the Math.sign() method is used to determine the sign of a number. It returns:

1 if the number is positive
-1 if the number is negative
0 if the number is zero
-0 if the number is negative zero
NaN if the input is not a number

Report this page