Link Search Menu Expand Document

Escape Sequences in Strings

Summary

\'	single quote
\"	double quote
\\	backslash
\n	newline
\r	carriage return
\t	tab
\b	word boundary
\f	form feed

Final Code

var myStr = "FirstLine\n\t\\SecondLine\nThirdLine"; // Change this line