Usuń LocalStorage
localStorage.removeItem("key");
Itchy Ibis
localStorage.removeItem("key");
localStorage.clear();//this clears the localStorage completely
localStorage.setItem('image', 'myCat.png');
...
localStorage.removeItem('image');
// Don't use removeItem() that as the name says removes the whole item from localStorage. Just do another setItem() to overwrite the old data.
questions.splice(index, 1);
localStorage.setItem('questions',JSON.stringify(questions));
localStorage.removeItem(key);
localStorage.removeItem("<key_name_here>");