What is the primary purpose of the ‘localStorage’ API in modern web browsers?
Key points
- localStorage data persists across sessions
- Data is stored as strings in key-value pairs
- Storage is scoped to the origin
Ready to go further?
Key points
Ready to go further?