Understand String Immutability - hElP

Tell us what’s happening:
I don’t understand where I’m wrong here.
I am trying to reassigned a value to myString: “Hello World”

Thanks,

Your code so far


// Setup
var myStr = "Jello World";

// Only change code below this line

myStr = "Hello World";

myStr[0] = "H"; // Fix Me


Your browser information:

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

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

Got it. Sorry will try to close this now :slight_smile: