From 203c9823e8f35ada1ecf35ac20444ac7ff510401 Mon Sep 17 00:00:00 2001 From: Sean Coleman Date: Tue, 17 Dec 2019 01:16:16 +1100 Subject: [PATCH] Fixed minor grammar issue in escape-sequences-in-strings.english.md (#37940) * Update escape-sequences-in-strings.english.md Fixed minor grammar issue in list item 1 of the description section. * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../basic-javascript/escape-sequences-in-strings.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md index 4bce6acc21..4d7078f481 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings.english.md @@ -8,7 +8,7 @@ forumTopicId: 17567 ## 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 carriage returns.
  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. 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 carriage return.
  2. To allow you to represent multiple quotes in a string without JavaScript misinterpreting what you mean.
We learned this in the previous challenge.
CodeOutput
\'single quote
\"double quote
\\backslash
\nnewline
\rcarriage return
\ttab
\bword boundary
\fform feed
Note that the backslash itself must be escaped in order to display as a backslash.