Loading

摘要: String.prototype.trim = function (char, type) { if (char) { if (type == 'left') { return this.replace(new RegExp('^\\'+char+'+', 'g'), ''); } else if (type == 'right') { return ... 阅读全文
posted @ 2017-12-22 10:56 jevan 阅读(3697) 评论(0) 推荐(0) 编辑