Javascript escape a literal string

Tell us what’s happening:
For some reason all of the myStr variable is stuck in quotes

Your code so far


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:


You pass the tests with your code.
The log at the bottom shows the value of myStr in quotes because it is a string. String values are encapsulated in quotes so the code knows to read them as a string and not a variable name.