js 字符串格式化方法 String.prototype.format = function(args) { var result = this; if (arguments.length > 0) { if (arg … 继续阅读 js 字符串格式化方法