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

Truthiness #28

Open
wolfgang42 opened this issue Oct 10, 2018 · 0 comments
Open

Truthiness #28

wolfgang42 opened this issue Oct 10, 2018 · 0 comments
Labels
good first issue Good for newcomers ready Ready for development
Milestone

Comments

@wolfgang42
Copy link
Owner

Make sure truthiness matches spec. If this doesn't follow JS exactly, will probably need a $truthy helper function. Per spec:

  • Mysterious - Falsy
  • Null - Falsy
  • Boolean - Truthy if True, Falsy if False
  • Number - If equal to zero, falsy. Otherwise, truthy.
  • String - Truthy (null is the falsy equivalent)
  • Object - Truthy (null is the falsy equivalent)
@wolfgang42 wolfgang42 added good first issue Good for newcomers ready Ready for development labels Oct 10, 2018
@wolfgang42 wolfgang42 added this to the Spec Complete milestone Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ready Ready for development
Projects
None yet
Development

No branches or pull requests

1 participant