• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Escape Characters

In the interactive story example, you saw a JavaScript escape character in action—the \ ", which in a string represents a double quote. Escape characters are used in strings to do the following:

  • Prevent certain characters from causing errors

  • Add formatting (such as carriage returns) to strings


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint