Skip to content

Glossary: Software Design Patterns in JavaScript

Lookup table

Also written: table, lookup

An object or Map from names to values, classes or functions, used instead of an if chain. CARRIERS and TRANSITIONS are lookup tables.

Where the book teaches it

Related terms

RegistryMapSimple factory