I don't know if anyone else pointed this out, but the function calls in the first few examples (the sumNumbers ones specifically), you called sumNumbers, when you may have meant to call (the newly created) sum.
Just a heads up on the mistake, since this is for beginners.
I don't know if anyone else pointed this out, but the function calls in the first few examples (the
sumNumbers
ones specifically), you calledsumNumbers
, when you may have meant to call (the newly created)sum
.Just a heads up on the mistake, since this is for beginners.
Hope this helps.
Cheers!
Thank you Catlin. I got lost in those calls and mistakenly used wrong identifier.