Closed DevilRoshan closed 4 years ago
补全代码,实现效果
const str = '1234567890'; function formatNumber(str){ } console.log(formatNumber(str)) // 1,234,567,890
https://github.com/DevilRoshan/Question/blob/master/20200726-js-string-format.md
补全代码,实现效果