function append(parent, child) { parent[parent.length] = child; }