I guess there is some mistake in the last example in 'Test Reuse lazy filterNumbers + filterRange + max function' section. I understood it when I was exploring the output. I realized that it is as in the description, but the correct result is different. I mean, in the description '6' is received but in the example '1'. Can you fix it or explain me what I understood wrong?
I'm 7 years late but appreciate the dialogue here!
No sample tests.
This is really a great Kata with many different tasks to deal with :
Very satisfying!
Thank you! :)
yes;
==
only compares value while===
compares value and type.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness
Does the use of === and == differ?
Does
fitnesses
always add up to 1.0?Thank you for your comment, looking into this was the tip I was missing to complete my solution :)
This comment is hidden because it contains spoiler information about the solution
fixed
Thanks for the interesting Kata. Used to write JS like C. Now learned new JS features.
This comment is hidden because it contains spoiler information about the solution
I guess there is some mistake in the last example in 'Test Reuse lazy filterNumbers + filterRange + max function' section. I understood it when I was exploring the output. I realized that it is as in the description, but the correct result is different. I mean, in the description '6' is received but in the example '1'. Can you fix it or explain me what I understood wrong?
When you implement dynamic programming correctly but your implementation still runs too slowly xD. Argh!
It would be nice if there were unit tests
Loading more items...