Can someone please tell me what the red underlined sentence means? What parenthesis are they talking about?
function inside objects are called methods, agree? normally, when you call a function you do:
if the function has arguments you supply the arguments between the parentheses. But in this case, you don't call the returnBalance method (as explained in the exercise), so no need to have parentheses (
()). You did it right, wrong would have been:
Well returnBalance is a function. Generally when you call a function you do;
So it's refering to line 13 not having () after returnBalance
10/10 straight forward explanation, thank you ^^ .