diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 0555e4db32..6fe58512ef 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/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:", "
CodeOutput
\\'single quote
\\\"double quote
\\\\backslash
\\nnew line
\\rcarriage return
\\ttab
\\bbackspace
\\fform feed
", - "Note that the backslash itself must be escaped in order to display as a backslash.", + "Note that the backslash itself must be escaped in order to display as a backslash.", "

Instructions

", - "Encode the following sequence, seperated by spaces:
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",