Escaping Literal Quotes in String help

Tell us what’s happening:
var myStr = "I am a “double quoted” string inside “double quotes” . "; // Change this line

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:66.0) Gecko/20100101 Firefox/66.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings

remove trailing white space

1 Like

Thank you for your help.This solves my problem.

1 Like