From b5fcc389f0296af2ee3548db9f49cc7dfc35c417 Mon Sep 17 00:00:00 2001 From: Sriparno Roy <89148144+Sriparno08@users.noreply.github.com> Date: Tue, 14 Feb 2023 02:08:27 +0530 Subject: [PATCH] fix(curriculum): Fix awkward phrasing (#49358) * Fix awkward phrasing * Remove sentence --- .../basic-javascript/escape-sequences-in-strings.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 |