Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform refusing to accept the correct answer #12820

Closed
kazoo135 opened this issue Jan 25, 2017 · 3 comments
Closed

Platform refusing to accept the correct answer #12820

kazoo135 opened this issue Jan 25, 2017 · 3 comments

Comments

@kazoo135
Copy link

kazoo135 commented Jan 25, 2017

Challenge Escape Sequences in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

var myStr = "FirstLine\n\\SeondLine\\\rThirdLine";
When running this in my web dev console i receive 
"FirstLine
\SecondLine\ThirdLine"

However when I run this code with \n rather than \r

var myStr = "FirstLine\n\\SeondLine\\\nThirdLine";
"FirstLine
\SecondLine\
ThirdLine"

which I believe is what we're after - That being said neither runs in the platform

@raisedadead
Copy link
Member

SeondLine check that its not a typo that is causing it to fail?

@raisedadead raisedadead added the status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. label Jan 25, 2017
@raisedadead
Copy link
Member

Please clarify more as requested.

@raisedadead raisedadead removed the status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. label Jan 28, 2017
@cyphx
Copy link

cyphx commented May 21, 2017

The platform is refusing to accept my answer too. I tried
var myStr='FirstLine\n\SecondLine\\nThirdLine';

and the output being shown is
myStr="FirstLine\n\SecondLine\\nThirdLine"

instead of the expected output. I asked for help in the chat room and people told me that my code gives the expected result when they run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants