Understanding String Immutability

// Setup
let myStr = “Jello World”;

// Only change code below this line
myStr = “Hello world”; // Change this line
// Only change code above this line

Your code so far


// Setup
let myStr = "Jello World";

myStr = "Hello world"; //fix me


// Only change code below this line



I don’t know why this particular lesson keeps rejecting my solution. I would appreciate it if someone could help me out with it. Thank you in advance.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36

Challenge: Understand String Immutability

Link to the challenge:

Hi @tomiaffar !
Welcome to the forum!

Read the error message more carefully.
It is trying to tell you that you have a capitalization issue with the second word of the string.

Hope that helps!

3 Likes

Hi! I have just realized this. Thank you very much!!