function toThousands(num) { return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,');} 相关文章: 2021-08-22 2022-12-23 2022-12-23 2021-06-17 2022-12-23 2021-12-18 2022-01-04 2022-12-23