remove item from session storage code example Example: localstorage clear item localStorage.removeItem(key);