Functions 5.5 return orderCount


I do not understand this part of Exercsice 5 step 5 Functions:

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

How can I call a function inside a console.log statement: if i do


it shows me error...


What error do you receive, and please post all your code for this specific exercise.


Oh i tried to remake the code and now it works, seems that was only some syntax problem THANKS


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