convert this python code to java script. Make sure it works on Eclipse IDE. I want it to prompt the user in the console tab. # Initialize an empty array to store integers int_array = [0] * 12 while True: # Display menu options to the user print("Menu:") print("1. Enter 12 integers") print("2. List all integers and their sum") print("3. List even integers and their sum") print("4. List odd integers and their sum") print("5. Exit") # Get user input for menu choice choice = int(input("Enter your choice (1-5): ")) if choice == 1: # Allow user to input 12 integers and store them in the array for i in range(12): int_array[i] = int(input("Enter integer {}: ".format(i+1))) print("Integers stored successfully.") elif choice == 2: # List all integers in the array and their sum print("All integers in array:") for i in range(12): print(int_array[i]) print("Sum of all integers: {}".format(sum(int_array))) elif choice == 3: # List even integers in the array and their sum even_integers = [] for i in range(12): if int_array[i] % 2 == 0: even_integers.append(int_array[i]) print("Even integers in array:") for i in range(len(even_integers)): print(even_integers[i]) print("Sum of even integers: {}".format(sum(even_integers))) elif choice == 4: # List odd integers in the array and their sum odd_integers = [] for i in range(12): if int_array[i] % 2 != 0: odd_integers.append(int_array[i]) print("Odd integers in array:") for i in range(len(odd_integers)): print(odd_integers[i]) print("Sum of odd integers: {}".format(sum(odd_integers))) elif choice == 5: # Exit the program print("Exiting program.") break else: # Invalid menu choice print("Invalid choice. Please try again.").