function toCamelCaseVar( variable ) {
let a = variable.split('_')
for(let i = 0;i<a.length;i++){
let temp = a[i].split('')
let kksk = temp[0].charCodeAt(0)
if(i==0&&kksk>=65&&kksk<=90){
temp[0] = String.fromCharCode(kksk+32);
}
if(i>0&&kksk>=97&&kksk<=122){
temp[0] = String.fromCharCode(kksk-32);
}
for(let j = 1;j<temp.length;j++){
let u = temp[j].charCodeAt(0)
if(u>=65&&u<=90){
temp[j] = String.fromCharCode(u+32);
}
}
a[i]=temp.join('')
}
return a.join('')
}
console.log(toCamelCaseVar("PPFoo_IIIstYle_css"))
console