Sorry for the noob question, I new in JS. Can't assign letter by index
var str="some string";
for( var i=0; i<str.length; i++) {
var letter=str[i]; // it works
letter.toUpperCase(); // it works too
str[i]=letter; // try to assign new letter by index, but nothing happens..
}
Maybe is it because of implicit conversion from string to char..?