Skip to content

Glossary: Software Design Patterns in JavaScript

Prototype

Also written: prototype pattern

A creational pattern that makes new objects by copying a ready-made one and changing a little, using spread or structuredClone. Bloom Café's holiday order copies its weekly order.

Where the book teaches it

Related terms

Spread syntaxstructuredCloneObject.freeze