Glossary: Data Structures and Algorithms in JavaScript
Hash function
Also written: hash, hashing, hashed
A function that turns any key into a whole number. A Map uses that number to pick the bucket where the key's pair is stored.
Glossary: Data Structures and Algorithms in JavaScript
Also written: hash, hashing, hashed
A function that turns any key into a whole number. A Map uses that number to pick the bucket where the key's pair is stored.