I want to show all of the keys and storage written before. My code is below. I created a function (allStorage) but it doesn\'t work. How can I do this?
for (let [key, value] of Object.entries(localStorage)) { console.log(`${key}: ${value}`); }