JavaScript - program that will ask the user to enter as many first names as want.

Asked By john maxx on 20-Sep-20 01:09 PM
program that will ask the user to enter as many first names as want. When the user is done supplying name (clicking the button with an empty field), a message window displays the list of names.a.  Program's flow :i.  User is asked to supply as many names as wanted.ii.  When a name is supplied, user is asked to supply another name.iii.  When done, user submits an empty input field.iv.  A message window displays the name list of names (using blank spaces in between