localStorage store JSON

Oct 6, 2016
/**localStorage store json**/
//Store
localStorage.books = JSON.stringify({name: 'json', stored: true})
//Get
var data = JSON.parse(localStorage.books)

Do Not Remain Silent

Back To Top