Basic JavaScript - Understand String Immutability

Tell us what’s happening:
Describe your issue in detail here.

just confused on what i did wrong here?
Your code so far

// Setup
let myStr = "jello World";
// Only change code below this line

myStr = "Hello World"; // Change this line


Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14989.107.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Understand String Immutability

Link to the challenge:

you changed the top line there.
Reset the code and then just modify the indicated ‘myStr’ assignment line

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.