Escaping Problems

Tell us what’s happening:
What’s the wrong with this code?

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; rv:83.0) Gecko/20100101 Firefox/83.0.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

The target:

I am a “double quoted” string inside “double quotes”.

Count the spaces between words in the target and then count them in your string.