Ad
  • Custom User Avatar

    JavaScript - can anyone please explain the final test? The instructions say that an empty array should be returned if N is NaN or < 1.
    What value is N on the last test? I have tried logging it out and I am only getting 0 or 2 which makes no sense.