removeItem
The removeItem
method is used to delete data from storage by the specified key.
Parameters
- key:
string
- the key of the item to be removed.
Return Value
The method returns a Promise<void>
, which indicates successful completion of the operation without a return value.
Example Request
await removeItem('session_key')