Programming Concepts — Hash Table
A hash table is a data structure that maps keys to values for fast lookups using hash functions. It is the foundation of many programming languages' objects and dictionaries.
let hashTable = new Map();
hashTable.set('name', 'Alice');
hashTable.set('age', 25);
console.log(hashTable.get('name')); // Output: Alice