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.defineProperty()

Why Object.defineProperty ? The Object.defineProperty () method allows for the precise addition or modification of a property in an object. By default, values ​​added using Object.defineProperty () do not change. The property identifiers found in objects come in two main ways: data identifiers and accessor identifiers. A data identifier is a property that can be... Continue Reading →

Object Assign

If the properties in the target object have the same key, the resources will be overwritten. Then the characteristics of the resources will similarly overwrite the previous ones.

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started