String.prototype.trim=function(){
  return this.replace(/(^\s*)|(\s*$)/g, "");
}

相关文章:

  • 2021-10-16
  • 2021-08-17
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-07-13
  • 2022-01-29
  • 2021-11-21
  • 2022-03-09
  • 2022-12-23
相关资源
相似解决方案