Basic JavaScript: Escaping

I have solved this code but in console log it comes like " I am a “double quoted” string inside “double quotes”. " so run and test popping up with // running tests Variable myStr should contain the string:

I am a "double quoted" string inside "double quotes".

// tests completed // console output

my code is var myStr = " I am a “double quoted” string inside “double quotes”. " ;


var myStr = " I am a \"double quoted\" string inside \"double quotes\". " ; 

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

you have an extra space at the end