# JavaScript Hash Data Structures

#### js_hashes.html

### About Hash Data Structures

There are implementations of the Set and Map data structures in JS. They can be used as alternatives to arrays (for storing 1D data) and objects (for storing key-value pairs). They have two advantages:

- O(1) time-complexity for read and write operations
- Guaranteed uniqueness of elements (set) / keys (map)

### More about JS

- JS Tutorial on www.w3schools.com
- JS Tutorial from Mozilla
- Eloquent JavaScript (book on modern JS programming)
- Codepen (playground for experimenting with JS/HTML/CSS)
- Enki (JS workouts on your phone)