Ad
  • Default User Avatar

    Again, the message is self-explanatory. You are calling two methods (isNaN and isInteger) for an object (summation) that do not have those methods. You most likely want to call isNan(x) instead of summation.isNaN(x).

  • Default User Avatar

    The message is self-explanatory. You did not define the "index" variable.