ThinkSSL🔒 一键申购 5分钟快速签发 30天无理由退款 购买更放心 广告
# 去除字符串两边空格的方法 ## 方法一 ~~~ function trim(str){ return str.replace(/(^\s*)|(\s*$)/g, ""); } ~~~