Beginner's guide to Javascript LocalStorage
LocalStorage and sessionStorage are not really data stores. They are facades over a browser-managed backing store, with quotas, scoping rules, security implications, and hidden behaviors that the API surface does not hint at.
This is a deep dive on what those facades actually wrap. We will start at the surface