会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
打赏
刘奇云
博客园
首页
新随笔
联系
订阅
管理
2017年2月14日
js中的string.format
摘要: //两种调用方式 var template1="我是{0},今年{1}了"; var template2="我是{name},今年{age}了"; var result1=template1.format("loogn",22); var result2=template2.format({name
阅读全文
posted @ 2017-02-14 10:17 刘奇云
阅读(13210)
评论(0)
推荐(0)
公告