diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md index b41d20aed01..2a932a7708f 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.md @@ -9,12 +9,7 @@ dashedName: escape-sequences-in-strings # --description-- -Quotes are not the only characters that can be escaped inside a string. There are two reasons to use escaping characters: - -1. To allow you to use characters you may not otherwise be able to type out, such as a newline. -2. To allow you to represent multiple quotes in a string without JavaScript misinterpreting what you mean. - -We learned this in the previous challenge. +Quotes are not the only characters that can be escaped inside a string. Escape sequences allow you to use characters you may not otherwise be able to use in a string.
| Code | Output |
|---|---|
\' | single quote |
\" | double quote |
\\ | backslash |
\n | newline |
\t | tab |
\r | carriage return |
\b | word boundary |
\f | form feed |