2022年3月17日
摘要: function endWith(str, endStr) { str = str.trim() let d = str.length - endStr.length return d >= 0 && str.lastIndexOf(endStr) == d } let reg = /(.+(?=[ 阅读全文
posted @ 2022-03-17 22:53 阿梅M 阅读(1593) 评论(0) 推荐(0) 编辑