Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. The Head/Global Object > Global Functions Contained Within the Head Object

Global Functions Contained Within the Head Object

JavaScript ships with some predefined functions. The following native functions are considered methods of the head object [e.g., in a web browser window.parseInt('500')]. You can think of these as ready-to-use functions/methods (of the head object) provided by JavaScript:

  • decodeURI()

  • decodeURIComponent()

  • encodeURI()

  • encodeURIComponent()

  • eval()

  • isFinite()

  • isNaN()

  • parseFloat()

  • parseInt()


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint