Ad
  • Custom User Avatar

    It is being called with multiple arguments. apply(null, values) is being used in the test cases, not call(null, values). The 2nd argument to the apply method is an array of values to be passed as arguments.