function indexOfElementNode(elementNode) {
  return indexOfNode(elementNode, ELEMENT_NODE);
}
Gets the index of an element node in its parent
@param {element} elementNode
@returns {number} index
@memberof Core