| 
									
										
										
										
											2018-10-12 15:37:13 -04:00
										 |  |  |  | --- | 
					
						
							|  |  |  |  | title: Escape Sequences in Strings | 
					
						
							|  |  |  |  | --- | 
					
						
							|  |  |  |  | ## Escape Sequences in Strings
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-08 19:47:58 -03:00
										 |  |  |  | * 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. | 
					
						
							| 
									
										
										
										
											2018-10-12 15:37:13 -04:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-08 19:47:58 -03:00
										 |  |  |  | ## Solution
 | 
					
						
							|  |  |  |  | ```javascript | 
					
						
							|  |  |  |  | var myStr = "FirstLine\n\t\\SecondLine\nThirdLine"; | 
					
						
							|  |  |  |  | ``` |