You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function getRandomString(length, options) {
const params = {
numbers: get(options, 'numbers', true),
letters: get(options, 'letters', true),
specials: get(options, 'specials', true),
};
return stringRandom(length, params);
}
......
Can see the function detail as above, I have only set the options as non-mandatory params, if no options passed here, all options will be true, but what I got the string have no at least one number...not always like this, but sometimes can not works.
The text was updated successfully, but these errors were encountered:
function getRandomString(length, options) {
const params = {
numbers: get(options, 'numbers', true),
letters: get(options, 'letters', true),
specials: get(options, 'specials', true),
};
return stringRandom(length, params);
}
......
Can see the function detail as above, I have only set the options as non-mandatory params, if no options passed here, all options will be true, but what I got the string have no at least one number...not always like this, but sometimes can not works.
The text was updated successfully, but these errors were encountered: