sign()
Determines whether a value is positive, negative, a form of zero (-0 or 0) or not a number.
-0
0
YourJS.sign(…)
{{ libName }}.{{ functionName }}(…)
YourJS
NaN
x
-1
1