The static Reflect.construct() method acts like the new operator, but
as a function. It is equivalent to calling new target(...args). It
gives also the added option to specify a different prototype.
The static Reflect.construct() method acts like the new operator, but
as a function. It is equivalent to calling new target(...args). It
gives also the added option to specify a different prototype.
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.
The static Reflect.getPrototypeOf() method is almost the same
method as Object.getPrototypeOf(). It returns the prototype
(i.e. the value of the internal [[Prototype]] property) of
the specified object.
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.
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.
The static Reflect.setPrototypeOf() method is the same
method as Object.setPrototypeOf(). It sets the prototype
(i.e., the internal [[Prototype]] property) of a specified
object to another object or to null.