Escaping Literal Quotes in Strings Javascript

Tell us what’s happening:

Please help me to get some with “Escaping Literal Quotes in Strings”.

Your code so far


var myStr = "I am a\"double quoted\"string insid\"double quotes\". ";
console.log(myStr)

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; TECNO LB7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36.

Challenge: Escaping Literal Quotes in Strings

Link to the challenge:

“insid” is not a word :wink:.

2 Likes