February 2018
Intermediate to advanced
298 pages
8h 22m
English
Sometimes, you might find while experimenting that you've put a lot of useless key-value pairs inside your storage. You can clear them all at once with the clear method in local storage. You can do that with the following command:
localStorage.clear();console.log(localStorage); // blank object {}
Read now
Unlock full access