Explore BrainMass

Create an Array with Elements Entered by a User Via a Prompt.

Write a javascript to create an array with 5 elements. Then load the elements with first names read from the user via prompt.

© BrainMass Inc. brainmass.com August 19, 2018, 7:20 pm ad1c9bdddf

Solution Summary

This solution contains an attached javascript code to create an array of 5 elements entered by the user via prompt and then they are printed.