我觉这题目或者解释器有问题。转义符完全无用
Imdaidai opened this issue · comments
You Li commented
Challenge Escape Sequences in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var myStr; // Change this line
myStr ='\\ \t \t \r \n';
You Li commented
返回的值永远等于 myStr ='\ \t \t \r \n'
胡落阳 commented
多谢反馈。
此题考查的是转义字符。
题目要求生成:反斜杠 制表符 退格符 回车符 换行符
上面的结果不符合题目要求,第3个应为退格符,而不是制表符。