Results 41 - 60 of 217

handler.getOwnPropertyDescriptor()

The handler.getOwnPropertyDescriptor() method is a trap for Object.getOwnPropertyDescriptor().
ECMAScript6 JavaScript Method Proxy

handler.getPrototypeOf()

The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] internal method.
ECMAScript6 JavaScript Method Proxy

handler.has()

The handler.has() method is a trap for the in operator.
ECMAScript6 JavaScript Method Proxy

handler.isExtensible()

The handler.isExtensible() method is a trap for Object.isExtensible().
ECMAScript6 JavaScript Method Proxy

handler.preventExtensions()

The handler.preventExtensions() method is a trap for Object.preventExtensions().
ECMAScript6 JavaScript Method Proxy

handler.set()

The handler.set() method is a trap for setting a property value.
ECMAScript6 JavaScript Method Proxy

Proxy.revocable()

The Proxy.revocable() method is used to create a revocable Proxy object.
ECMAScript6 JavaScript Method Proxy

Reflect

Reflect is a built-in object that provides methods for interceptable JavaScript operations. The methods are the same as those of proxy handlers. Reflect is not a function object, so it's not constructible.
ECMAScript6 JavaScript Overview Reflect

Reflect.apply()

The static Reflect.apply() method calls a target function with arguments as specified.
ECMAScript6 JavaScript Method Reflect

Reflect.construct()

The static Reflect.construct() method acts like the new operator as a function. It is equivalent to calling new target(...args).
ECMAScript6 JavaScript Method Reflect

Reflect.defineProperty()

The static Reflect.defineProperty() method is like Object.defineProperty() but returns a Boolean.
ECMAScript6 JavaScript Method Reflect

Reflect.deleteProperty()

The static Reflect.deleteProperty() method allows to delete properties. It is like the delete operator as a function.
ECMAScript6 JavaScript Method Reflect

Reflect.get()

The static Reflect.get() method works like getting a property from an object (target[propertyKey]) as a function.
ECMAScript6 JavaScript Method Reflect

Reflect.getOwnPropertyDescriptor()

The static Reflect.getOwnPropertyDescriptor() method is similar to Object.getOwnPropertyDescriptor(). It returns a property descriptor of the given property if it exists on the object, undefined otherwise.
ECMAScript6 JavaScript Method Reflect

Reflect.getPrototypeOf()

The static Reflect.getPrototypeOf() method is the same method as Object.getPrototypeOf(). It returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.
ECMAScript6 JavaScript Method Reflect

Reflect.has()

The static Reflect.has() method works like the in operator as a function.
ECMAScript6 JavaScript Method Reflect

Reflect.isExtensible()

The static Reflect.isExtensible() method determines if an object is extensible (whether it can have new properties added to it). It is similar to Object.isExtensible(), but with some differences.
ECMAScript6 JavaScript Method Reflect

Reflect.ownKeys()

The static Reflect.ownKeys() method returns an array of the target object's own property keys.
ECMAScript6 JavaScript Method Reflect

Reflect.preventExtensions()

The static Reflect.preventExtensions() method prevents new properties from ever being added to an object (i.e. prevents future extensions to the object). It is similar to Object.preventExtensions(), but with some differences.
ECMAScript6 JavaScript Method Reflect