Output showing double quotes

Tell us what’s happening:

first and last double quotes executing on output why

Your code so far
var myStr = “I am a " double quoted " string inside " double quotes " .”; // Change this line


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:


It’s just how they have the editor set up behind the scenes for this challenge.
If you console.log your myStr variable, you can see that the value prints without those quotes.