The clear() method of the Storage interface clears all keys stored in a given Storage object.
clear()
Storage
MDN Reference