code: function listNext(node, pred) {
    pred = pred || func.fail;
  
    const nodes = [];
    while (node) {
      if (pred(node)) { break; }
      nodes.push(node);
      node = node.nextSibling;
    }
    return nodes;
  }
docs: listing next siblings (until predicate hit).
  
  @param {Node} node
  @param {Function} [pred] - predicate function