Contents

key

Returns the key located in the specified location.

Declaration

String key(
    in int index
);
DOMString? key(
    unsigned long index
);

Parameters

  • index:

    The location of the key to be retrieved.

Return Value

The found key.

Discussion

If the value in the index parameter is greater than the number of key-value pairs currently in the storage list, this function returns null.

See Also

Accessing Key-Value Pair Information