Tell us what’s happening:
Still plugging away at it, but I am stumped again. I thought that myStr[0] = "H";
would change the first letter of the var myStr = "Jello World";
to var myStr = "Hello World";
, but I guess I am still missing something… a little help please?
Your code so far
// Setup
var myStr = "Jello World";
// Only change code below this line
myStr[0] = "H";
myStr = "Hello World";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understand-string-immutability