Eliminar el almacenamiento local
localStorage.removeItem("key");
Itchy Ibis
localStorage.removeItem("key");
localStorage.removeItem('name');