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.

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.