setItem( )


Stores an item in local or memory storage.

Method Declaration
Copy
Method Parameters
keystringRequired

The key of item to set.


valueunionRequired

The value of the item to set.

JavaScript
Did this help?