Interface ObjectConstructor
new ObjectConstructor(value?: any): Object;
prototype: Object;
assign<T extends {}, U>(target: T, source: U): T & U;
assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
assign<T extends {}, U, V, W>(
target: T,
source1: U,
source2: V,
source3: W,
): T & U & V & W;
assign(target: object, ...sources: any[]): any;
create(o: object): any;
create(o: object, properties: PropertyDescriptorMap & ThisType<any>): any;
defineProperties<T>(
o: T,
properties: PropertyDescriptorMap & ThisType<any>,
): T;
defineProperty<T>(
o: T,
p: PropertyKey,
attributes: PropertyDescriptor & ThisType<any>,
): T;
entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];
entries(o: {}): [string, any][];
freeze<T extends Function>(f: T): T;
freeze<
T extends { [idx: string]: object
| U },
U extends string | number | bigint | boolean | symbol,
>(
o: T,
): Readonly<T>;
freeze<T>(o: T): Readonly<T>;
fromEntries<T = any>(
entries: Iterable<readonly [PropertyKey, T]>,
): { [k: string]: T };
fromEntries(entries: Iterable<readonly any[]>): any;
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor;
getOwnPropertyDescriptors<T>(
o: T,
): { [P in string | number | symbol]: TypedPropertyDescriptor<T[P]> } & {
[x: string]: PropertyDescriptor;
};
getOwnPropertyNames(o: any): string[];
getOwnPropertySymbols(o: any): symbol[];
getPrototypeOf(o: any): any;
groupBy<K extends PropertyKey, T>(
items: Iterable<T>,
keySelector: (item: T, index: number) => K,
): Partial<Record<K, T[]>>;
hasOwn(o: object, v: PropertyKey): boolean;
is(value1: any, value2: any): boolean;
isExtensible(o: any): boolean;
isFrozen(o: any): boolean;
isSealed(o: any): boolean;
keys(o: object): string[];
keys(o: {}): string[];
preventExtensions<T>(o: T): T;
seal<T>(o: T): T;
setPrototypeOf(o: any, proto: object): any;
values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];
values(o: {}): any[];
(): any;
(value: any): any;
}
 Index
Constructors
Properties
Methods
 Methods
assign
- assign<T extends {}, U>(target: T, source: U): T & U
- Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object. - Type Parameters- Parameters- Returns T & U
- assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V
- Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object. - Type Parameters- Parameters- Returns T & U & V
- assign<T extends {}, U, V, W>(
 target: T,
 source1: U,
 source2: V,
 source3: W,
 ): T & U & V & W
- Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object. - Type Parameters- Parameters- Returns T & U & V & W
- assign(target: object, ...sources: any[]): any
- Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object. - Parameters- target: objectThe target object to copy to. 
- ...sources: any[]One or more source objects from which to copy properties 
 - Returns any
- target: object
create
- create(o: object): any
- Creates an object that has the specified prototype or that has null prototype. - Parameters- o: objectObject to use as a prototype. May be null. 
 - Returns any
- o: object
- create(o: object, properties: PropertyDescriptorMap & ThisType<any>): any
- Creates an object that has the specified prototype, and that optionally contains specified properties. - Parameters- o: objectObject to use as a prototype. May be null 
- properties: PropertyDescriptorMap & ThisType<any>JavaScript object that contains one or more property descriptors. 
 - Returns any
- o: object
defineProperties 
- defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T
- Adds one or more properties to an object, and/or modifies attributes of existing properties. - Type Parameters- Parameters- o: TObject on which to add or modify the properties. This can be a native JavaScript object or a DOM object. 
- properties: PropertyDescriptorMap & ThisType<any>JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property. 
 - Returns T
- o: T
defineProperty 
- defineProperty<T>(
 o: T,
 p: PropertyKey,
 attributes: PropertyDescriptor & ThisType<any>,
 ): T
- Adds a property to an object, or modifies attributes of an existing property. - Type Parameters- Parameters- o: TObject on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object. 
- p: PropertyKeyThe property name. 
- attributes: PropertyDescriptor & ThisType<any>Descriptor for the property. It can be for a data property or an accessor property. 
 - Returns T
- o: T
entries
- entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][]
- Returns an array of key/values of the enumerable own properties of an object - Type Parameters- Parameters- Returns [string, T][]
- entries(o: {}): [string, any][]
- Returns an array of key/values of the enumerable own properties of an object - Parameters- o: {}Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. 
 - Returns [string, any][]
- o: {}
freeze
- freeze<T extends Function>(f: T): T
- Prevents the modification of existing property attributes and values, and prevents the addition of new properties. - Type Parameters- T extends Function
 - Parameters- f: TObject on which to lock the attributes. 
 - Returns T
- freeze<
 T extends { [idx: string]: object
 | U },
 U extends string | number | bigint | boolean | symbol,
 >(
 o: T,
 ): Readonly<T>
- Prevents the modification of existing property attributes and values, and prevents the addition of new properties. - Type Parameters- T extends { [idx: string]: object | U }
- U extends string | number | bigint | boolean | symbol
 - Parameters- o: TObject on which to lock the attributes. 
 - Returns Readonly<T>
- freeze<T>(o: T): Readonly<T>
- Prevents the modification of existing property attributes and values, and prevents the addition of new properties. - Type Parameters- Parameters- o: TObject on which to lock the attributes. 
 - Returns Readonly<T>
- o: T
fromEntries 
- fromEntries<T = any>(
 entries: Iterable<readonly [PropertyKey, T]>,
 ): { [k: string]: T }
- Returns an object created by key-value entries for properties and methods - Type Parameters- Parameters- entries: Iterable<readonly [PropertyKey, T]>An iterable object that contains key-value entries for properties and methods. 
 - Returns { [k: string]: T }
- entries: Iterable<readonly [PropertyKey, T]>
- fromEntries(entries: Iterable<readonly any[]>): any
- Returns an object created by key-value entries for properties and methods - Parameters- entries: Iterable<readonly any[]>An iterable object that contains key-value entries for properties and methods. 
 - Returns any
- entries: Iterable<readonly any[]>
getOwnPropertyDescriptor   
- getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor
- Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype. - Parameters- o: anyObject that contains the property. 
- p: PropertyKeyName of the property. 
 - Returns PropertyDescriptor
- o: any
getOwnPropertyDescriptors   
- getOwnPropertyDescriptors<T>(
 o: T,
 ): { [P in string | number | symbol]: TypedPropertyDescriptor<T[P]> } & {
 [x: string]: PropertyDescriptor;
 }
- Returns an object containing all own property descriptors of an object - Type Parameters- Parameters- o: TObject that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. 
 - Returns { [P in string | number | symbol]: TypedPropertyDescriptor<T[P]> } & {
 [x: string]: PropertyDescriptor;
 }
- o: T
getOwnPropertyNames   
- getOwnPropertyNames(o: any): string[]
- Returns the names of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions. - Parameters- o: anyObject that contains the own properties. 
 - Returns string[]
- o: any
getOwnPropertySymbols   
getPrototypeOf  
groupBy 
hasOwn 
- hasOwn(o: object, v: PropertyKey): boolean
- Determines whether an object has a property with the specified name. - Parameters- o: objectAn object. 
- v: PropertyKeyA property name. 
 - Returns boolean
- o: object
is
isExtensible 
isFrozen 
isSealed 
keys
- keys(o: object): string[]
- Returns the names of the enumerable string properties and methods of an object. - Parameters- o: objectObject that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. 
 - Returns string[]
- o: object
- keys(o: {}): string[]
- Returns the names of the enumerable string properties and methods of an object. - Parameters- o: {}Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. 
 - Returns string[]
- o: {}
preventExtensions 
seal
setPrototypeOf  
values
- values<T>(o: { [s: string]: T } | ArrayLike<T>): T[]
- Returns an array of values of the enumerable own properties of an object - Type Parameters- Parameters- Returns T[]
- values(o: {}): any[]
- Returns an array of values of the enumerable own properties of an object - Parameters- o: {}Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. 
 - Returns any[]
- o: {}
A reference to the prototype for a class of objects.