var children = []; for (var i = 0; i < a.length; ++i) { children[i] = dom("li", a[i]); } return dom("ul", children);