showing results for - "javascript localstorage reference"
Chris
06 Feb 2018
1localStorage.setItem('person', JSON.stringify(person)); //stringify object and store
2var retrievedPerson = JSON.parse(localStorage.getItem('person')); //retrieve the object
Noemi
20 Jun 2016
1localStorage.setItem('myCat', 'Tom');
2