Functions in Javascrpt


#1


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.


#2

Please post your code


#3

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