Add/Get objects From/To LocalStorage


/ Published in: JavaScript
Save to your folder(s)

saveToStorage("objectName", {javascript:"object"});

To get the object use getFromStorage("objectName");

If the object does not exist, the function returns new empty object;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.