Yeison Daza
4 min read

ES2018 Part 2: Rest/Spread Object and Promise.finally

Two of the most important parts of JavaScript, Objects and Promises, have new features in ES2018. Let's see how they work.

5 min read

Functional Inheritance in JavaScript

If JavaScript does not have classes, how do you implement inheritance? That is probably one of the questions every developer has asked themselves. In this post, we will try to answer it once and for all.

2 min read

Understanding Composition in JavaScript

We often see that the JavaScript object system is described as example-based or prototype-based, but we do not always see what that actually means.

5 min read

Understanding Delegation in JavaScript

When most programmers think about object-oriented programming (OOP), they usually remember languages like Java or C++ where a class is a static template for creating objects, inheriting attributes and methods into the created object.

4 min read

Understanding Objects in JavaScript

Objects are one of the least understood features in JavaScript, since their implementation has some important differences from many more traditional programming languages.

4 min read

Internal Properties in JavaScript

The EcmaScript specification defines internal properties for every object. These indicate their standard behavior and largely define how JavaScript works.

3 min read

Understanding Getters and Setters in JavaScript

Since ES2015, we have the ability to use getters and setters to define properties on our objects. In this post we will understand how they work.

4 min read

Understanding this in JavaScript

this is a JavaScript keyword that behaves very differently from other programming languages, which is why some people consider it one of the biggest design mistakes in the language.