var str='border-left-color';str=str.replace(/-[a-z]/ig,function(s){ return s.charAt(1).toUpperCase();});alert(str);
posted on 2015-03-03 09:36 wish&will 阅读(121) 评论(0) 收藏 举报