Created
October 4, 2018 18:57
-
-
Save JH108/b462b3de6f45c3b306d7d2250a9474f2 to your computer and use it in GitHub Desktop.
This file contains 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
Object.keys(localStorage).filter(key => key.slice(0, 7) === 'lscache').forEach(key => localStorage.removeItem(key)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment