Summary

Get a recap of what we’ve learned in this chapter.

In this chapter, we’ve been gently introduced to a set of traditional design patterns concerning the creation of objects. Some of those patterns are so basic, and yet essential at the same time, that we’ve probably already used them in one way or another.

Conventional design patterns in JavaScript

Patterns such as Factory and Singleton are, for example, two of the most ubiquitous in object-oriented programming in general. However, in JavaScript, their ...