console.log( 'fuck: 3330.00'.replace(/\B(?=(?:\d{3})+\b)/g, ',') );

posted on 2016-08-18 17:36  北冥鱼鱼鱼  阅读(187)  评论(0编辑  收藏  举报