O'Reilly logo

Internet & World Wide Web: How to Program, Fourth Edition by P. J. Deitel - Deitel & Associates, Inc., H. M. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. JavaScript: Objects

 

My object all sublime I shall achieve in time.

 
 --W. S. Gilbert
 

Is it a world to hide virtues in?

 
 --William Shakespeare
 

Good as it is to inherit a library, it is better to collect one.

 
 --Augustine Birrell
 

A philosopher of imposing stature doesn’t think in a vacuum. Even his most abstract ideas are, to some extent, conditioned by what is or is not known in the time when he lives.

 
 --Alfred North Whitehead

OBJECTIVES

In this chapter you will learn:

  • Object-based programming terminology and concepts.

  • The concepts of encapsulation and data hiding.

  • The value of object orientation.

  • To use the JavaScript objects Math, String, Date, Boolean and Number.

  • To use the browser’s document and window objects.

  • To use cookies.

  • To represent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required