js 去除前后空格function String.prototype.Trim() { return this.replace(/(^\s*)|(\s*$)/g, ) }
js 去除前后空格
function String.prototype.Trim() { return this.replace(/(^\s*)|(\s*$)/g, ""); }
js 去除前后空格
function String.prototype.Trim() { return this.replace(/(^\s*)|(\s*$)/g, ""); }