Retired

Filter Array of Nested Objects (retired)

Description
Loading description...
Fundamentals
  • Please sign in or sign up to leave a comment.
  • Madjosz Avatar

    Please write the solution stub as a real function so that solvers don't have to derive the name and arguments from the test cases or description:

    function namesInZipCode(people, zipcode) {
    
    }
    
  • JohanWiltink Avatar
    • A single random test ( again. just run it in a loop 100 times. it's not hard! )
    • random test is vulnerable to input mutation
    • simple map/filter/reduce kata have no novelty in 2021
    • zilkey Avatar

      Thanks for reviewing šŸ‘šŸ»

      I had written a loop with expect statements within one example, and refactored it to generate more random examples.

      I also froze all of the the inputs in the solution, and wasn't aware that input mutation was a thing to avoid here - thank you for finding that too.

      As for the "no novelty" comment, not sure what to do about that šŸ¤·šŸ»ā€ā™‚ļø. I think I'll mark this as resolved and let people downvote it into oblivion if that's true.

    • JohanWiltink Avatar
      Issue marked resolved by JohanWiltink 4 years ago