DEV Community

Fariha Rajput
Fariha Rajput

Posted on

How to get Unstack in CODING?

image
When you retrieve data from a Storage object, you’ll always get the data as a string. Same with sessionStorage and Cookies. You can also store objects in the localStorage. We would just have to use JSON.stringify() to store the object.

Top comments (0)