Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numStrings=0 returns non-empty array #16

Closed
fasiha opened this issue Sep 21, 2021 · 0 comments
Closed

numStrings=0 returns non-empty array #16

fasiha opened this issue Sep 21, 2021 · 0 comments

Comments

@fasiha
Copy link
Owner

fasiha commented Sep 21, 2021

var m=require('mudder');
m.base62.mudder('p', '', 0) // [ 'u' ] 😭

Because I, ignoramus, used a foolish default: numStrings = numStrings || 1;

fasiha added a commit that referenced this issue Sep 21, 2021
fasiha added a commit that referenced this issue Sep 21, 2021
@fasiha fasiha closed this as completed in 4bc243b Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant