📜  使数字为负 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:25.558000             🧑  作者: Mango

代码示例1
Math.abs(num) => Always positive
-Math.abs(num) => Always negative