Number.prototype.thousandth = function() {
  return `${this}`.replace(/\d{1,3}(?=(\d{3})+$)/g, '$&,');
};

 

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2021-08-22
  • 2021-06-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
相关资源
相似解决方案