What’s error I’m making here?

Tell us what’s happening:

Your code so far

// Setup
var myStr = "Jello World";

// Only change code below this line
myStr[0] = "Hello World"; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Mobile/15E148 Safari/604.1.

Challenge: Understand String Immutability

Link to the challenge:

Please recheck your code. There is something extra for you to remove. I’m pasting the lesson text below, please read it once again; it explains everything clearly.

Basic JavaScript: Understand String ImmutabilityPassed

In JavaScript, String values are immutable, which means that they cannot be altered once created.

For example, the following code:

var myStr = "Bob";
myStr[0] = "J";

cannot change the value of myStr to “Job”, because the contents of myStr cannot be altered. Note that this does not mean that myStr cannot be changed, just that the individual characters of a string literal cannot be changed. The only way to change myStr would be to assign it with a new string, like this:

var myStr = "Bob";
myStr = "Job";