• JMap.Util.LocalStorage.remove

    Removes the key/value item for the given key.

    Do nothing if local storage is not available.

    Parameters

    • key: string

      the item key

    Returns void

    Example

    // removes the key/value item "my-key" if exist
    JMap.Util.LocalStorage.remove("my-key")