generate-password
generate-password copied to clipboard
Clone options to innerOptions
This change prevents the methods from changing the content of the "options" object passed as a parameter.
Is this a problem? Not sure how this could cause a bug
This is not a problem, however, it is not good practice to change the parameters passed to a function or method, they should be immutable.