clear

fun clear()(source)

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

MDN Reference