This is a simple JavaScript application for managing real estate properties. The program allows users to register new properties, view a list of registered properties, and exit the application.
- Add New Property: Users can input details about a new property, including the owner's name, number of bedrooms, number of bathrooms, and whether it has a garage.
- List Properties: Users can view a list of all registered properties with their details.
- Exit Application: Users can exit the application.
To run this JavaScript exercise, follow these steps:
- Save the JavaScript Code:
- Copy the JavaScript code into a file named
index.js
.
- Copy the JavaScript code into a file named