Js实现string.format

经常需要动态拼接html字符串,想到用类似于.net的string.format函数比较好,于是找了下,stackoverflow的代码:
posted @ 2016-11-25 09:16  冰深  阅读(3587)  评论(0编辑  收藏  举报