📜  javascript 获取数字的大小 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:16.678000             🧑  作者: Mango
代码示例1
const a = 10;
const b = 20;
const difference = Math.abs(a - b);
// difference is 10.