javascript模拟实现c#string.format函数功能代码_javascript技巧