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
console.log(myStr);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

Challenge: Basic JavaScript - Escaping Literal Quotes in Strings

Link to the challenge:

Hi everyone!

I think my code is correct but really know why it can’t pass me.

Please can anyone help me out?

my code:

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

I got right now.

thanks

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