1
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?
https://repl.it/@mhs_mhs123/jsrestuaurantdemo

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

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!