上一页
下一页
JavaScript Math.sign()
Math.sign(x) returns if x in negative, null or positive: