I have dynamically created numbered arrays in local storage:
key: array1 value: [{foo, bar, etc}]
key: array2 value: [{bar, foo, etc}]
and I want to recursively pull all of them out. doesn't have to be fancy. I can't figure out how to do it. I have:
for (array of localStorage) {
consolelog.(JSON.parse(localStorage.getItem(array)));}
but I know this isn't right.. local storage isn't even an array. any ideas? Not sure how to handle the fact that there could be any number of them, with any number in their name.