code: function getNodeEndMark(ast) {
    if (isArray(ast.value) && ast.value.length) {
      let lastItem = last(ast.value);
  
      if (isArray(lastItem) && lastItem.length) {
        return getNodeEndMark(last(lastItem));
      }
  
      return getNodeEndMark(lastItem);
    }
  
    return ast.end_mark;
  }
docs: /*
  Gets end mark of an AST
  
  @param {Node} ast
  
  @returns {Mark}