Why is orderCount used in the functions getTax and getSubTotal


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I don’t particularly follow why the variable orderCount is used as a parameter in the functions getTax and getSubTotal?

itemCount is also distracting too as it doesn’t appear in any other function.

```

Replace this line with your code.

<do not remove the three backticks above>

#2

Hang on a minute; doesn’t orderCount simply replace what’s stored in itemCount, the latter of which is just a placeholder?


#3

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