Удалить Local Storage
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 =