Ad
  • Default User Avatar

    Done.

  • Custom User Avatar

    array can has not numeric indexes and skipped indexes.

  • Custom User Avatar

    I would make it even more explicit.
    "Write a function, which takes as parameters an array and a callback function. The callback function is a mathematical function that will be applied on each element of this array."
    ->
    "Write the processArray function, which takes an array and a callback function as parameters. The callback function can be, for example, a mathematical function that will be applied on each element of this array. Optionally, also write tests similar to the examples below."