Menu
×
×
Correct!
Exercise:Use the correct String method to replace the word "Hello" with the word "Welcome".
let txt = "Hello World";
txt = txt.replace("Hello", "Welcome");
Not CorrectClick here to try again. Correct!Next ❯let txt = "Hello World"; txt = txt.("Hello", "Welcome"); |