For convenience, types are normally subdivided into primitives and objects. Objects are entities that have an identity (they are only equal to themselves) and that map property names to values ("slots" in prototype-based programming terminology). Objects may be thought of as associative arrays or hashes, and are often implemented using these data structures. However, objects have additional features, such as a prototype chain, which ordinary associative arrays do not have.
JavaScript has several kinds of built-in objects, namely Array, Boolean, Date, Function, Math, Number, Object, RegExp and String. Other objects are "host objects", defined not by the language but by the runtime environment. For example, in a browser, typical host objects belong to the DOM (window, form, links, etc.).
Read more about this topic: Java Script Syntax
Famous quotes containing the word objects:
“Let the maiden, with erect soul, walk serenely on her way, accept the hint of each new experience, search in turn all the objects that solicit her eye, that she may learn the power and charm of her new-born being, which is the kindling of a new dawn in the recesses of space.”
—Ralph Waldo Emerson (18031882)
“All good music resembles something. Good music stirs by its mysterious resemblance to the objects and feelings which motivated it.”
—Jean Cocteau (18891963)
“I was afraid that by observing objects with my eyes and trying to comprehend them with each of my other senses I might blind my soul altogether.”
—Socrates (469399 B.C.)