code: function (ar) {
          for (var r = [], i = 0, l = ar.length; i < l; ++i) arrayLike(ar[i]) ? (r = r.concat(ar[i])) : (r[r.length] = ar[i])
          return r
        }
docs: a bunch of this code is borrowed from Qwery so NW is a drop-in replacement