Storing and retrieving objects with LocalStorage
The HTML5 Web Storage API provides developers with greater latitude for front-end storage compared to that of cookies, particularly with the localStorage property, making this an excellent choice for managing data within web and mobile applications.
Aside from browser support one issue with using this API is that data saved within localStorage can be of only 2 types: strings or integers.
So where does this leave us with other data types such as Objects and Arrays?