generateKey
generateKey([prefix]) ⇒ string
Generates a unique key with the specified prefix.
Kind: global function
Returns: string
- The generated key.
Param | Type | Description |
---|---|---|
[prefix] | string | The prefix to use for the key (defaults to “PREFIX”). |
Example