Tell us what’s happening:
if you see here If I post working code in step 3 for some reason my ending bracket is DELETED for some reason and a syntax error appears.
Why has no one adressed this?
Your code so far
const originalString = "I love cats.";
console.log("Original string:");
console.log(originalString);
// User Editable Region
const replacedString = originalString.replace("cats", "dogs";
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Challenge Information:
Build a String Transformer - Step 4
