js数字简写

Posted on 2021-02-03 17:39  猫头唔食鱼  阅读(343)  评论(0)    收藏  举报
let a = 10000000
let b = 1e7  // 7个0就是7   这是数字1,不是字母l
console.log(a==b) // true