目标字符串驼峰化处理
功能函数的设计初衷是将目标字符串驼峰化的api:比如CSS样式特性与JavaScipt样式属性的切换
?
?
background-color 与 style.backgroundColorfont-weight 与 fontWeightfont-family 与 fontFamily?? ~~~~~~~~~~~~~~?
?
?
String.method('charAt',function(){ return this.slice(0,1); //精髓});console.log('Ability'.charAt(0)); //A??