1 - Javascript:Intro - Objects
Objects
An object is a "package" of data; a collection of properties (variables)
and methods (functions) all classed under a single name. For example, imagine
that there was an object named car. We could say that the car object possesses
several properties: make, model, year, and color, for example. We might even
say that car possesses some methods: go(), stop(), and reverse(). Although car
is obviously fictional, you can see that its properties and methods all relate
to a common theme.
In JavaScript you may create your own objects for storing data. More commonly, though, you will use the many "built-in" objects which allow you to work with, manipulate, and access the Web page and Web browser. This set of pre-existing objects is known as the "Document Object Model".
(from www.wdvl.com)