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

can slove #20

Closed
mileyxiao opened this issue Oct 17, 2016 · 3 comments
Closed

can slove #20

mileyxiao opened this issue Oct 17, 2016 · 3 comments

Comments

@mileyxiao
Copy link

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

My code:

var myStr="I am a\"double quoted \" string inside \"double quotes\"";
// Change this line
@xifengxx
Copy link

var myStr="I am a "double quoted " string inside "double quotes"";

代码检验有点小问题,当中没有空格或多出几个空格,都通过不了的。

@huluoyang
Copy link
Contributor

@mileyxiao 上面同学已经解决你的问题,空格导致。
正确的如下:

var myStr="I am a\"double quoted \" string inside \"double quotes\"";  // 你的代码
var myStr="I am a \"double quoted\" string inside \"double quotes\"";  // 我的代码

@youzizi1
Copy link

youzizi1 commented Nov 9, 2016

thank you!

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

4 participants