function replaceEmo(msgValue) { msgValue.indexOf("*#emo_") != -1 && (msgValue = msgValue.replace("*#", "<img src='/images/chat/").replace("#*", ".gif'/>"), replaceEmo()); return msgValue; }
JS递归高级写法
猜你喜欢
转载自kingwarluo.iteye.com/blog/2333237
今日推荐
周排行