Javascript Destructuring

Destructuring allows you to extract individual values ​​from an object into variables or constan...

JavaScript keyword this

The behavior of the this keyword depends on the context in which it is used and whether it is used i...

JavaScript Inheritance

JavaScript supports inheritance, which allows us, when creating new types of objects, if necessary, ...

JavaScript Function as an object. call and apply methods

In JavaScript, a function is also an object – a Function object and also has a prototype, prop...

JavaScript Encapsulation

Encapsulation is one of the key concepts of object-oriented programming and represents hiding the st...

Object extension.prototype

In addition to directly defining properties and methods in the constructor, we can also use the prot...

JavaScript Object constructors

In addition to creating new objects, JavaScript gives us the ability to create new types of objects ...

JavaScript Objects in functions

Functions can return values. But these values ​​do not have to represent primitive data – ...

Existence check and enumeration of methods and properties

When dynamically defining new properties and methods in an object, it can be important to check whet...

JavaScript Copying and comparing objects

Copying objects Unlike primitive data types, object data is copied by reference. What does it mean? ...