摘要: 代码 function toThousands(num) { return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,'); } 阅读全文
posted @ 2021-06-09 15:10 小泽沐优声 阅读(53) 评论(0) 推荐(0)