Indexable
[name: string]: any
Properties
length
length: number
Methods
clear
-
Returns void
getItem
- getItem(key: string): string | null
-
Parameters
Returns string
|
null
key
- key(index: number): string | null
-
Parameters
Returns string
|
null
removeItem
- removeItem(key: string): void
-
Parameters
Returns void
setItem
- setItem(key: string, value: string): void
-
Parameters
-
key: string
-
value: string
Returns void
Returns the number of key/value pairs currently present in the list associated with the object.