generatePassword
generatePassword([length]) ⇒ string
Generates a random password of the specified length.
Kind: global function
Returns: string
- The generated password.
Param | Type | Default | Description |
---|---|---|---|
[length] | number | 10 | The length of the password to generate. |
Example