Skip to content

Glossary: JavaScript Basics

Lookup table

Also written: lookup, lookup tables

An object keyed by a code, such as a SKU or carrier, so you can find a value with `table[key]` instead of a long `switch` or `if` chain.

Where the book teaches it

Related terms

ObjectBracket notationSKU