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:
“By degrees we may come to know the primitive sense of the permanent objects of nature, so that the world shall be to us an open book, and every form significant of its hidden life and final cause.”
—Ralph Waldo Emerson (18031882)
“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 (16941773)
“Words express neither objects nor ourselves.”
—Johann Wolfgang Von Goethe (17491832)