removeItem( key ) method

Storage

Syntax

removeItem( key )

Parameters

Name Type Description
key string String key to remove.

Example

// 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.

Source

SUPStorage.js, line 276.