Objects can have any number values stored as properties (specified by
Returns the value stored in this at the specified
propertyName. This is the same as the
. style access but also allows the property name to be specified at runtime using a String of being hardcoded and allows access to properties that are invalid identifiers (such as including spaces or starting with a number).
this has a property named
propertyName stored on it. This method can be used to see if a property is set on the object, even if the value is set to
undefined. Properties stored in the prototype chain do not count.
this is in the prototype chain of
true if the property named
this is enumerable and should be returned during a
for (x in y) loop.
Returns a locale specific (if possible) string representation of
Returns a string representation of
this. This method is called each time the object is used in a place a string is expected. Define your own
toString to give a better string representation to your objects.
PropertyDescriptor that describes the
propertyName property on
Array of the symbols of properties set on
obj including those that are not enumerable.