Ad
  • Default User Avatar

    There are some grammar/style issues bugging me in the description:

    javascript generators functions

    JavaScript generator functions / JavaScript generators

    You only gonna be passed an array with numbers

    You will only be passed an array with numbers

    If it gets called more then n times

    then -> than

    Other than that, this seems fine. I'd classify it as 8 kyu, but the average vote is disagreeing with me on that.

  • Custom User Avatar

    Hi,

    In addition to the points below, you didn't say what to do if no number is matching the requirements in the array.

    Note that this kind of task isn't generally welcome anymore by users, in the beta process. Did you take a look at the documentation about authoring, to get a broad idea about what is a good idea or not for a kata?

    cheers

  • Custom User Avatar
    • No random tests

    • assert.strictEqual should be used

    • Description should be language agnostic

    • duplicate of 1 and 2