remove object from local stoarage code example Example: localstorage clear item localStorage.removeItem(key);