2023年7月28日
摘要: function formatString(str, ...args) { return str.replace(/{(\d+)}/g, function(match, index) { return typeof args[index] != 'undefined' ? args[index] : 阅读全文
posted @ 2023-07-28 17:14 絆τ 阅读(29) 评论(0) 推荐(0) 编辑