let x = 'I love \'Chocolate\'\'Butterscotch\' ice cream.';
// log the variable
console.log(x);
output:->
I love 'Chocolate''Butterscotch' ice cream.
But after clicking on submit.It shows
You missed to escape some special character.
please check again.