Need assistance in escaping-literal-quotes-in-strings

Challenge Name

escaping-literal-quotes-in-strings has an issue.

Issue Description

When successfully formatting your backslash escapes, the first test will always fail and the second test will always pass. Reloading the page does not fix the issue for me. I’m using Google Chrome.

Browser Information

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.


Imgur Album

Your Code

var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line

This is a know bug with the Beta and will be fixed in the final release.

If this is a known bug, it doesn’t look like it’s been addressed. If this is the case how do I move on to another module/excercise?

This is my line:
var myStr = “I am a “double qouted” string inside “double qoutes”.”;//

Please format your code with backticks, otherwise it is not easy to see your code, because and i see it you are not escaping the double quotes

Anyway, this challenge currently doesn’t have a bug

1 Like