try writing console.log(myStr) as last line of your code and confront it with the string you are required to print
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Ok I think its not a programming error you are typing something wrong here is my code below I would suggest you copy my code, past it, and compare it with your code
var myStr = "I am a \"double quoted\" string inside \"double quotes\".";
compare your code against my code and you will get the mistake you are making.