Created
January 10, 2021 11:14
-
-
Save DenisCangemi/9175c3d6e8a25426375e4e3dd274dd13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (let i = 0; i < localStorage.length; i++){ | |
let key = localStorage.key(i); | |
let value = localStorage.getItem(key); | |
console.log(key, value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment