How does this happen, and what does this error mean?

Hi Codecademy Community, I have no idea how I’m wrong with what I typed so if someone could help that would be amazing! This is the code.

If someone could explain what is wrong, that would be great. Thanks!

return getSubTotal * 7.5

The function needs to be invoked on orderCount.


 > const foo = bar => bar * 5;
=> undefined
 > console.log(foo)
=> undefined
 > console.log(foo.toString())
 bar => bar * 5
=> undefined
 > console.log(foo(5))
=> undefined
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.