Chapter 9. JavaScript: Objects

<feature><title>Objectives</title>

In this chapter you will learn:

<objective>

Object-based programming terminology and concepts.

</objective>
<objective>

The concepts of encapsulation and data hiding.

</objective>
<objective>

The value of object orientation.

</objective>
<objective>

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

</objective>
<objective>

To use the browser’s document and window objects.

</objective>
<objective>

To use cookies.

</objective>
<objective>

To represent objects simply using JSON.

</objective>
</feature>
 

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 ...

Get Deitel® Developer Series AJAX, Rich Internet Applications, and Web Development for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.