Skip to content

Glossary: Software Design Patterns in JavaScript

Builder

Also written: builder pattern

A creational pattern where an object collects parts one chained call at a time and then makes the finished result in build(), checking it is complete. OrderBuilder refuses to build an order with no items.

Where the book teaches it

Related terms

Method chainingCreational pattern