📜  javascript 将减号转换为加号 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:01:31.805000             🧑  作者: Mango
代码示例3
var posNum = (num < 0) ? num * -1 : num; // if num is negative multiple by negative one ...