Removes the key and its associated value from this object.
If the key does not exist, has no effect.
removeItem( key )
Name | Type | Description |
key | String | String key to remove. |
// Create the SUP Storage var store = new hwc.SUPStorage ("one"); store.setItem ("foo", "bar"); // add an item. store.removeItem ("foo"); result = store.getItem ("food"); // will be null.