会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
助平君 on Software
It's a Long Way to the Top (If You Wanna Rock 'n' Roll)
博客园
首页
新随笔
新文章
管理
订阅
2011年2月4日
Do You Really Know about string.replace() in JavaScript?
摘要:
'[Log in] ... Log in'.replace('Log', 'Sign') Looking at this piece of code, can you figure out the result? You may guess '[Sign in] ... Sign in', but unfortunately, you are totally wrong.
阅读全文
posted @ 2011-02-04 21:16 助平君
阅读(1272)
评论(4)
推荐(0)
编辑
公告