I have to make a simple JavaScript program that will show the user's contact list and will allow it to insert a new contact, as in the image below and the description of the problem is as follows: Each contact should have a first and last name The program will handle an array of contacts and offer the user a choice of the two features:
View each contact
Quit
The program should run until the user chooses to exit. It should also use objects to manage contacts.
Two initial contacts to put in the program are: John Smith Jane Doe
I started studying JS a short time ago and I'm having a hard time knowing where to create objects and how to handle the names / surnames in the Array to show if the user chooses the list of contacts.