code: function mergeBlocks(blocks) {
    let finalBlock;
    for (const block of blocks) {
      if (!finalBlock) finalBlock = block;
      else {
        block.nodes.forEach(node => finalBlock.push(node));
      }
    }
    return finalBlock;
  }
docs: Puts the content of all given node blocks into the first one, essentially merging them.