.. _Object: ================================================ Object ================================================ Description ----------- The base class of all JavaScript objects. Properties ^^^^^^^^^^ +-------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`constructor` readonly | Points to the constructor function that created this object. | +-------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`prototype` readonly | Points to the prototype object for this object. | +-------------------------------------------------+----------------------------------------------------------------------------------------+ | :ref:`reflect` readonly | Retrieves and returns the Reflection object associated with this method or a property. | +-------------------------------------------------+----------------------------------------------------------------------------------------+ Constructors ^^^^^^^^^^^^ +---------------------------------------+---------------------------------------------------+ | :ref:`Object` readonly | Creates and returns a new object of a given type. | +---------------------------------------+---------------------------------------------------+ Methods ^^^^^^^ +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`hasOwnProperty` readonly | Reports whether a given property is defined with an instance or within the prototype chain. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`isPrototypeOf` readonly | Checks whether the given object is a prototype of this object. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`propertyIsEnumerable` readonly | Reports whether a given property is enumerable. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`toLocaleString` readonly | Creates and returns a string representing this object, localized for the current locale. See?toString(). | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`toSource` readonly | Creates and returns a string representation of this object. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`toString` readonly | Creates and returns a string representing this object. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`unwatch` readonly | Removes the watch function of a property. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`valueOf` readonly | Retrieves and returns the primitive value of this object. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`watch` readonly | Adds a watch function to a property, which is called when the value changes. | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ Static Methods ^^^^^^^^^^^^^^ +-----------------------------------------+-------------------------------------------+ | :ref:`isValid` readonly | Reports whether an object is still valid. | +-----------------------------------------+-------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 Object/prototype.rst Object/constructor.rst Object/reflect.rst Object/toString.rst Object/toLocaleString.rst Object/hasOwnProperty.rst Object/propertyIsEnumerable.rst Object/isPrototypeOf.rst Object/valueOf.rst Object/toSource.rst Object/unwatch.rst Object/watch.rst Object/isValid.rst Object/Object.rst