js字符串字母大小写互转

  需求:把一个字符串中的大写字母转为小写,小写字母转大写

function parseStr (str){
    var result = '';
    for(var i= 0;i

 

你可能感兴趣的:(前端开发)