SyntaxFix
Write A Post
Hire A Developer
Questions
var user = {'name':'John'}; sessionStorage['user'] = JSON.stringify(user); console.log(sessionStorage['user']);