Java Script Syntax - Objects

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:

    Little minds mistake little objects for great ones, and lavish away upon the former that time and attention which only the latter deserve. To such mistakes we owe the numerous and frivolous tribe of insect-mongers, shell-mongers, and pursuers and driers of butterflies, etc. The strong mind distinguishes, not only between the useful and the useless, but likewise between the useful and the curious.
    Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)

    But after the intimacy-inducing rituals of puberty, boys who would be men are told we must go it alone, we must achieve our heroism as the Lone Ranger, we must see the other men as threats to our masculine mastery, as objects of competition.
    Frank Pittman (20th century)

    All good music resembles something. Good music stirs by its mysterious resemblance to the objects and feelings which motivated it.
    Jean Cocteau (1889–1963)