DevilRoshan / Question

前端问题解决
0 stars 0 forks source link

[Daily]补全代码,实现效果 #90

Closed DevilRoshan closed 4 years ago

DevilRoshan commented 4 years ago

补全代码,实现效果

const str = '1234567890';
function formatNumber(str){

}
console.log(formatNumber(str)) // 1,234,567,890
DevilRoshan commented 4 years ago

https://github.com/DevilRoshan/Question/blob/master/20200726-js-string-format.md