I am trying to concat two nodelists using
var ul = document.querySelector(\"ul\"); var down = document.getElementsByClassName(\"mobile\")[0]; var ul_child = Ar
Why don't you use one selector to select them at the same time than you do not need to concat them and you end up with an HTML Collection instead of an Array.
var elems = document.querySelectorAll("ul > li, .mobile > *"); console.log(elems);
x y