Basic JavaScript - Escaping Literal Quotes in Strings

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

Your code so far

const myStr = "I am a \"double quoted\"string inside\"double quotes\".";
// Change this line

What is wrong with this code above

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko

I would double check your spacing.

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