JavaScript keyword this

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

JavaScript Inheritance

JavaScript supports inheritance, which allows us, when creating new types of obj...

JavaScript Function as an object. call and apply methods

In JavaScript, a function is also an object – a Function object and also h...

JavaScript Encapsulation

Encapsulation is one of the key concepts of object-oriented programming and repr...

Object extension.prototype

In addition to directly defining properties and methods in the constructor, we c...

JavaScript Object constructors

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