DEV Community

Discussion on: Data Structures in JavaScript: Hash Tables

Collapse
 
eagskunst profile image
Emmanuel Guerra

What will be the main difference between a HashTable and a Map/Dictionary ?

Collapse
 
metcoder profile image
Carlos Fuentes

Hashtable is made to store non-generic data, this means data of any kind in a key/value way. A Dictionary does the opposite in regards of the data, it stores generic data, this means data of the same type in a key/value way.