Object.getOwnPropertyDescriptor()

Why Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor () returns a property identifier for the specified property of the specified object. This method allows examination of the precise definition of a property. A property in JavaScript consists of a name in the string value or a Symbol and property identifier. More information about property identifier types and attributes can... Continue Reading →

Object.entries()

The Object.entries () method is used to rotate the array of [key,values] ​​entered as parameters. The ordering of the properties is the same as that given by looping over the property values of the object manually.

Object.defineProperties()

Object.defineProperties () creates or configures properties that are named and described by identifiers in the object. The names of the identifiers are property-generating objects that specify the properties of the properties to be created or the properties of the properties to be configured.

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started