Building a List via Array
Comparing looping through an array vs array joining to build a HTML list.
var arr = ["item1", "item2", "item3", "item4", "item5", "item6", "item7"];
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Build with for loop
Build with join
Compare results of other browsers
You can edit these tests or add even more tests to this page by appending
/edit to the URL. Here’s a list of current revisions for this page: