//202210 CJS 如果不存在trim函数(部分IE),则手动追加属性 if (typeof String.prototype.trim === 'undefined') { String.prototype.trim = function () { return this.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); }; } else { //alert("存在") }
posted on 2023-03-03 09:09 马玉豪 阅读(31) 评论(0) 收藏 举报