topical media & game development

talk show tell print

basic-javascript-appendix-4-ch04-q2.htm / htm

  var inputName = "";
  var namesArray = new Array();
  while ( (inputName = prompt("Enter a name","")) != "" )
     namesArray[namesArray.length] = inputName;
  var namesList = namesArray.join("<BR>")

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.