什么鬼

value = value[0].replace(/(d{1,3})(?=(?:d{3})+(?!d))/g, '$1,')
+ '.' + value[1];

原文地址:https://www.cnblogs.com/michellexiaoqi/p/7237742.html