How do I close program in js?
mhs_mhs123 (4)

Hey guys, I'm making a restaurant demo project in javascript. After the user selects a menu item, I want the program to say the price and close. I have the price part already, but I don't know how to make the process quit. Any help?

You are viewing a single comment. View All
mat1 (2929)

Your code isn't working because you're doing meal = 'pizza' and not meal == 'pizza'
Please mark my comment as the answer if it helped you. Thanks!