Search results
12 packages found
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.
CMPT 315 Assignment 2 - Array and Object Manipulation
Rename and add aliases for object properties that are being assigned a value
The Class Proxy is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).
n级对象动态赋值
The closest you can get to DEstructuring assignmeNT with good old ES5's objects and functions
Wrap an object to track assignments and calls for inspection or playback.
Create a new object containing the same properties (through assignment) of another object along with an @@iterator method can make use of the default iteration behavior (such as for-of) that built-in iterables like Array or Map have.
Dot notation to object. Supports nesting and same level objects as well as (multiple) value assignment and value overriding.