21 lines
331 B
Text
21 lines
331 B
Text
---
|
|
title: Store.unset()
|
|
---
|
|
|
|
The `Store.unset()` value removes a `key` from the store.
|
|
|
|
## Signature
|
|
|
|
```js
|
|
Store store.unset(string key)
|
|
```
|
|
|
|
:::tip
|
|
This method is chainable as it returns the `Store` object
|
|
:::
|
|
|
|
## Example
|
|
|
|
```js
|
|
const store = new Store().set('example', 'I will be gone before you know it').unset('example')
|
|
```
|