Interface representing a simple storage system
Determines if a storage item exists with the given name.
aName | The name of an item |
true if an item exists with the given name, false otherwise. |
Sets the value of a storage item with the given name.
aName | The name of an item |
aValue | The value to assign to the item |
Gets the value of a storage item with the given name. Returns a
default value if the item does not exist.
aName | The name of an item |
aDefaultValue | The value to return if no item exists with the given name |
value of the item or the given default value if no item exists with the given name. |
The events object for the storage
supports: “change”