DEV Community

loading...

How to get Unstack in CODING?

Fariha Rajput
Full-Stack web Developer | Design enthusiast! Currently venturing the world of Software Engineering.
・1 min read

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.

Discussion (0)