function makeOffsetPath(ancestor, node) {
  const ancestors = listAncestor(node, func.eq(ancestor));
  return ancestors.map(position).reverse();
}
function makeOffsetPath(ancestor, node) {
  const ancestors = listAncestor(node, func.eq(ancestor));
  return ancestors.map(position).reverse();
}
function makeOffsetPath ( ancestor , node ) { const ancestors = listAncestor ( node , func . eq ( ancestor ) ) ; return ancestors . map ( position ) . reverse ( ) ; }
@method makeOffsetPath

return offsetPath(array of offset) from ancestor

@param {Node} ancestor - ancestor node
@param {Node} node
@method makeOffsetPath
Make an offset path for an ancestor