2020 Answer (According to MDN's 'widely available' for the spread syntax)
If you have your two sets of NodeList[]
, lets say
var ca = document.querySelectorAll(".classA");
var cb = document.querySelectorAll(".classB");
then this can be achieved as easily as
var combined = Array.from(ca).concat(...cb);