This is the question:
4. On the last line of the program, call the getTotal function inside of a console.log statement to view the result.
This is my answer:
25 console.log (getTotal());
This is the result returned when I run the command:
Order: thin crust pizza topped with bacon
Order: think base pizza topped with chicken mayo
Order: no crust pizza topped with pineapple
I get the following error:
Did you put the getTotal() function call inside of a console.log statement?
The the getTotal function caqll is inside console log and a result is returned. Is this wrong or a bug?