课程: JavaScript: Patterns

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

What are creational patterns?

What are creational patterns?

- With all these terms you'll hear throughout the course, you might be wondering about what is a creational pattern in JavaScript? Simply put, they are patterns that control the creation process of an object. Although, in this course, we focus on JavaScript patterns, it is also true for any languages that use this pattern. In this chapter, we'll explore patterns that involve the creation of classes, the constructor pattern, the singleton, the factory, and the abstract factory patterns and how they allow us to efficiently create new objects in JavaScript.

内容