千分符

var f = '99999999999'.replace(/\d{1,3}(?=(\d{3})+$)/g, '$&,')
console.log(f)
原文地址:https://www.cnblogs.com/lv77/p/15633228.html