Eliminar el almacenamiento local
localStorage.removeItem("key");
Itchy Ibis
localStorage.removeItem("key");
localStorage.clear();//this clears the localStorage completely
localStorage.removeItem('name');
localStorage.removeItem(key);
localStorage.clear();
localStorage.removeItem("mytime"); /// remove item =