Ad
  • Default User Avatar

    The test code should not loop over the callbacks.length, since it will pass if you return an empty array.
    It should instead loop over the same value being passed to the function (5 in this case).