Search results
87 packages found
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Property descriptor factory
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Merge objects using their property descriptors
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Define (or modify) an object property.
Return a property descriptor for an object's own property.
Better `Object.defineProperty()`.
- browser
- configurable
- define
- define-property
- defineproperty
- descriptor
- descriptors
- enumerability
- enumerable
- get-set
- javascript
- library
- nodejs
- object
- View more
replacement for Object.defineProperty
Return a property descriptor for an object's own or inherited property.
Inspects a Property and returns useful informations about it (e.g. nested properties, function inspection, property descriptor, value, type, constructor)
Checks if an object has a property with a defined getter function.
Checks if an object has a property with a defined setter function.
Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.
Return an object's own property descriptors.
Return a property descriptor for an object's inherited property.