Ad
  • Default User Avatar

    Figured it. Using the function name as a variable.
    The error message was totally cryptic though, and I would think it would throw an exception when a function is called with the wrong parameters!

  • Default User Avatar

    Have not been able to clear the following error:

    TypeError: number is not a function

    It only shows up on the second test case, regardless of which test case that is. That is, I comment out one of the test cases, and the first test case (regardless of which one that is) passes. The second test case returns that error!! Any ideas?