// Setup
var myStr = "Jello World";
// Only change code below this line
myStr[0] = "H"
var myStr = "Jello World";
myStr = "Hello World";
// Change this line
// Only change code above this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5.
// Setup
var myStr = "Jello World";
// Only change code below this line
myStr[0] = "H"
var myStr = "Jello World"; ⇇⇇
myStr = "Hello World";
// Change this line
// Only change code above this line
On the line I marked, you are trying to declare myStr again which is not possible because it’s already declared before it. It will just give you an error saying that the variable is already declared, because it is already declared.
If this doesn’t make much sense now, don’t worry. Just remember that you can’t change/mutate a string, you can only reassign the variable with a new string.