diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings/index.md index b018290c41..bfda684b5f 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings/index.md @@ -3,8 +3,19 @@ title: Escape Sequences in Strings --- ## Escape Sequences in Strings -This is a stub. Help our community expand it. +* Escape sequences allow you to use characters you might not otherwise be able to type out, such as a word boundary. +* By following this diagram with character combinations you will be able to assign escape sequences to the string. +* ’ single quote +* " double quote +* \ backslash +* \n new line +* \r carriage return +* \t tab +* \b word boundary +* \f form feed +* The challenge requires that you don't use space between characters. -This quick style guide will help ensure your pull request gets accepted. - - +## Solution +```javascript +var myStr = "FirstLine\n\t\\SecondLine\nThirdLine"; +```