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

null or undefined when there is a no winner #1

Open
panmona opened this issue Apr 4, 2018 · 1 comment
Open

null or undefined when there is a no winner #1

panmona opened this issue Apr 4, 2018 · 1 comment

Comments

@panmona
Copy link

panmona commented Apr 4, 2018

In your readme you state that:

getWinner() returns the winner or undefined if there is no winner

But in the example below you use null.
What should be used?

@syzer
Copy link

syzer commented Jan 8, 2020

They both are 'falsely'. So in practice it makes no difference.

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

2 participants