Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

prototype

another object that JavaScript consults when a property is missing on the current object.

A little more detail

Lookup follows prototype links until a property is found or the chain ends at null. Shared methods can live on a prototype while individual objects keep their own state. A constructor function’s prototype property helps set the prototype of instances created with new.

See it in practice

These lessons pair the idea with examples you can change and run.