get values from each keys in localstorage code example
Example 1: localstorage read all key
for ( var i = 0, len = localStorage.length; i < len; ++i ) {
console.log( localStorage.getItem( localStorage.key( i ) ) );
}
Example 2: localstorage read all key
for (var key in localStorage){
console.log(key)
}