Understand String Immutability Help Please

Tell us what’s happening:

Your code so far


// Setup
var myStr = "Jello World";

// Only change code below this line

myStr[0] = "H"; // Fix Me
var myStr = "Hello World";




Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understand-string-immutability

You can’t change the individual parts of the string using the index, so you have to remove that and then reassign a whole new string to the variable. So instead of changing just “H” you have to use “Hello World”, and reassign it to the variable.