Skip to content
Advertisements

Category: javascript lessons

Object.isExtensible()

Object.isExtensible()

Object.isExtensible () indicates whether to add new properties to an object and returns this result.

Object.is()

Object.is()

Object.is () checks whether the two values ​​are of the same value.

Object.getPrototypeOf()

Object.getPrototypeOf()

The Object.getPrototypeOf () method returns the prototype of an independent variable (that is, the value of the internal [[Prototype]] property).

Object.getOwnPropertyDescriptor()

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 […]

Object.freeze

Object.freeze()

Object.freeze() is used for freezing objects and arrays. Object.freeze() is used to make an object immutable.

Object.entries()

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

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. […]

Object.defineProperties()

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.

Object.create()

Object.create()

There are many ways to create a JavaScripte object. One of them is using the Object.create () method. The Object.create () method creates a new object using an existing object as the prototype of the newly created object.

JavaScript Assign

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.

JavaScript setter

JavaScript Setter

The setters are functions or methods used to assign variables. The setter concept is common in computer programming: almost all high-end programming languages, including JS, come with a syntax for the setter.

JavaScript Getter

JavaScript Getter

Why javascript getter? We can say that it is the function or method used to get Getters variable values. The Getter concept is common in computer programming: almost all high-level […]

Rest Parameters

Rest Parameters

The JavaScript rest operator is an improved way to process the parameters of the functions....

Default parameters

Default parameters

The default parameters of the JavaScript functions are undefined. If we do not enter a parameter, it is equal to "undefined"....