object (JavaScript 1.0)

Object is the primitive JavaScript object type. All JavaScript objects are descended from Object. That is, all JavaScript objects have the methods defined for Object.

Properties & Events

KeyDescriptionAvailability
constructorSpecifies the function that creates a prototype of an object.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0
prototypeRepresents the prototype for this class. You can use the prototype to add properties or methods to all instances of a class.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0

Examples having uses of: 'object'