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

Check whether the min specified value is always lower or equals the max one #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pabloabadsanz
Copy link

It can be the case that when trying to generate a random number, the min specified value is higher than the max specified one.
Maybe the jokes text file is empty...
In that case, I'd like to return false as the getRandomNumber result, printing then that there're no jokes in the file

@pabloabadsanz
Copy link
Author

This is the code contribution for my final exam assignment in the Pirple's 'the-nodejs-master-class'

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

Successfully merging this pull request may close these issues.

1 participant