1Object storage, also called object-based storage,
2is an approach to addressing and manipulating data storage as discrete units,
3called objects. Objects are kept inside a single repository, and
4are not nested as files inside a folder inside other folders.
1Storage Object Properties and Methods
2Property/Method Description
3key(n) Returns the name of the nth key in the storage
4length Returns the number of data items stored in the Storage object
5getItem(keyname) Returns the value of the specified key name
6setItem(keyname, value) Adds that key to the storage, or update that key's value if it already exists
7removeItem(keyname) Removes that key from the storage
8clear() Empty all key out of the storage
9Related Pages for Web Storage API
10Property Description
11window.localStorage Allows to save key/value pairs in a web browser. Stores the data with no expiration date
12win