How To Clear LocalStorage In HTML5

Did you know you can clear the LocalStorage in HTML5? Here’s how to clear the LocalStorage in HTML5:

Simply call localStorage.clear(); in your code!

You can also manage HTML5 LocalStorage in your browser using developer tools (for example, if you’re using Google Chome, click View -> Developer -> Developer Tools then click on the Resources tab).

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Leave a comment

Your email address will not be published. Required fields are marked *