Skip to content

Glossary: Software Design Patterns in JavaScript

Factory

Also written: factories

A function or class whose job is making objects, so callers don't need to know which class to build.

Where the book teaches it

Related terms

Simple factoryFactory methodAbstract factory