Explore BrainMass

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

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

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 March 22, 2019, 12:03 am 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.