Functions in Javascrpt


On the last line of your program, after the takeOrder function calls, call the getSubTotal function inside a console.log statement.

getSubTotal has a parameter that represents the amount of items ordered. Pass in the orderCount as an argument when making the function call.Help me with this.


Please post your code


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