摘要: //字符串格式化String.prototype.format = function () { var values = arguments; return this.replace(/\{(\d+)\}/g, function (match, index) { if (values.length 阅读全文
posted @ 2019-09-30 10:19 一只小羊 阅读(9284) 评论(0) 推荐(0)