Indexable
[index: number]: string
Properties
Private items
items: object
Methods
getItem
- getItem(key: string): string | any
-
Parameters
Returns string
|
any
key
- key(index: number): string | any
-
Parameters
Returns string
|
any
removeItem
- removeItem(key: string): void
setItem
- setItem(key: string, data: string): void
Simple im-memory storage compatible with localStorage/sessionStorage API.