Created
April 9, 2020 19:25
-
-
Save ajmeese7/6fcceb99fd459a5a99133ba3f6d9499c to your computer and use it in GitHub Desktop.
I'm always needing to do this, so now I can find it easily
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
var keys = Object.keys(localStorage), i = 0, key; | |
for (; key = keys[i]; i++) { | |
console.log( key + '=' + localStorage.getItem(key)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment