Object source

Properties

extendedPropertyAttributes source

uuid source

Contains an object's unique ID.

Default Value:
  • null

Methods

create(prototype, descriptor) <constructor> source

Creates a new object that inherits prototypically directly from a given prototype, optionally defining some properties.

Parameters:
Name Type Description
prototype Object

the prototype to inherit, or null for no prototype, which makes "proto" the only special property name.

descriptor Object

a property descriptor

Returns:

a new object inheriting from the given prototype and having the given property descriptor.

getPropertyDescriptor(anObject, propertyName) → {Object} <constructor> source

Returns the descriptor object for an object's property.

Parameters:
Name Type Description
anObject Object

The object containing the property.

propertyName string

The name of the property.

Returns: Object

The object's property descriptor.

clear() source

Removes all properties owned by this object making the object suitable for reuse.

Returns:

this

Generated from v0.14.14

Need help?

Can't find what you are looking for? Please contact us, we're more than happy to help answer your questions.