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

The String Object

We’ve worked with strings throughout the book, but we haven’t dealt with the String object formally yet. In fact, when you use strings in variables, they’re automatically converted into String objects in JavaScript:

var text = "Now is the time." 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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