摘要: //把字符串中所有的s1替换为s2 String.prototype.replaceAll = function (s1, s2) { return this.replace(new RegExp(s1, "gm"), s2);} //校验字符串是否为空String.prototype.isEmpt 阅读全文
posted @ 2017-01-18 17:15 zdl524966159 阅读(183) 评论(0) 推荐(0) 编辑