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
Bonfire: Falsy Bouncer - contradictory instructions #5303
Comments
Apologies in advance if I have misunderstood something here. |
Thanks and happy coding! |
And, technically, you can use the |
Challenge Bonfire: Falsy Bouncer has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
.The instructions to Falsy Bouncer indicate that a Falsy value is of various types including NaN.
The first test requires that the function call bouncer([7, "ate", "", false, 9]) should return [7, "ate", 9]
however note that the string "ate" is NaN therefor it should not be included in the resulting array.
Therefor it seems that there is no way to pass test 1 and test 3 with the same code block, they are mutually exclusive answers.
My code:
The text was updated successfully, but these errors were encountered: