YeiWeimao

Results 2 comments of YeiWeimao

> ```js > "1000000000000".split('').reverse().reduce((total, each, i)=>{ > total.push(each) > if ((i + 1) % 3 == 0) total.push('.') > return total > }, []).reverse().join('') > ``` 有没有考虑到1刚好可以除尽的情况, 就会 .100.000.000.00

楼主怎么解决 我也是这个错误