diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 0555e4db32..6fe58512ef 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -926,15 +926,15 @@ "id": "56533eb9ac21ba0edf2244b6", "title": "Escape Sequences in Strings", "description": [ - "Quotes are not the only character than can be escaped inside a string. Here is a table of common escape sequences:", + "Quotes are not the only characters that can be escaped inside a string. Here is a table of common escape sequences:", "
Code | Output |
---|---|
\\' | single quote |
\\\" | double quote |
\\\\ | backslash |
\\n | new line |
\\r | carriage return |
\\t | tab |
\\b | backspace |
\\f | form feed |
backslash tab tab carriage return new line
and assign it to myStr
"
+ "Encode the following sequence, separated by spaces:backslash tab tab carriage-return new-line
and assign it to myStr
"
],
"releasedOn": "11/27/2015",
"tests": [
- "assert(myStr === \"\\\\ \\t \\t \\r \\n\", 'message: myStr
should have the escape sequences for backslash tab tab carriage return new line
seperated by spaces');"
+ "assert(myStr === \"\\\\ \\t \\t \\r \\n\", 'message: myStr
should have the escape sequences for backslash tab tab carriage-return new-line
separated by spaces');"
],
"challengeSeed": [
"var myStr; // Change this line",
@@ -942,7 +942,7 @@
""
],
"solutions": [
- ""
+ "var myStr = \"\\\\ \\t \\t \\r \\n\";"
],
"type": "waypoint",
"challengeType": "1",