主页
JS 参考手册
JavaScript sign() 方法
tryjsref_sign
运行 ❯
×
更改方向
保存代码
更改主题
Math.sign()
点击按钮查看不同的数字是正数还是负数:
试一试