delete from localstorage object one code example
Example 1: localstorage clear item
localStorage.removeItem(key);
Example 2: localstorage drop item
storage.removeItem(keyName);
localStorage.removeItem(key);
storage.removeItem(keyName);