I’m getting an error saying I should have double " and four escape characters.
Your code so far
var myStr = "I am a \"double quoted\” string inside \"double quotes\”. ";
var myStr = ' I am a "double quoted" string inside "double quotes" '; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36.
I’m getting an error saying I should have double " and four escape characters.
Your code so far
var myStr = "I am a \"double quoted\” string inside \"double quotes\”. ";
var myStr = ' I am a "double quoted" string inside "double quotes" '; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36.
I’m using the first string. Figured it out - somehow there are different double quotes between my laptop and copying someone else’s code. Thanks for the help!