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:
“Culture relates to objects and is a phenomenon of the world; entertainment relates to people and is a phenomenon of life.”
—Hannah Arendt (19061975)
“I think of consciousness as a bottomless lake, whose waters seem transparent, yet into which we can clearly see but a little way. But in this water there are countless objects at different depths; and certain influences will give certain kinds of those objects an upward influence which may be intense enough and continue long enough to bring them into the upper visible layer. After the impulse ceases they commence to sink downwards.”
—Charles Sanders Peirce (18391914)
“Though collecting quotations could be considered as merely an ironic mimetismvictimless collecting, as it were ... in a world that is well on its way to becoming one vast quarry, the collector becomes someone engaged in a pious work of salvage. The course of modern history having already sapped the traditions and shattered the living wholes in which precious objects once found their place, the collector may now in good conscience go about excavating the choicer, more emblematic fragments.”
—Susan Sontag (b. 1933)