SOURCE

var names = [ "Singwing", "Brianna","Baba"];
var result;
var name = "";

document.write("<ul>");

for(var i=0; i<names.length; i++){
	name = names[i];
  document.write("<li>"+name+"</li>");
}

document.write("</ul>");
console 命令行工具 X clear

                    
>
console