JavaScript łączy dwa htmlcollection
// convert both to arrays so they have the full complement of Array methods
var array1 = Array.prototype.slice.call(x.getElementsByClassName("one"), 0);
var array2 = Array.prototype.slice.call(x.getElementsByClassName("two"), 0);
var concat_array = array1.concat(array2)
Juan Mantilla