packages/odo-helpers/src/even-heights.js
function getTallest(elements) {
  let tallest = 0;

  for (let i = elements.length - 1; i >= 0; i--) {
    if (elements[i].offsetHeight > tallest) {
      tallest = elements[i].offsetHeight;
    }
  }

  return tallest;
}
function getTallest(elements) {
  let tallest = 0;

  for (let i = elements.length - 1; i >= 0; i--) {
    if (elements[i].offsetHeight > tallest) {
      tallest = elements[i].offsetHeight;
    }
  }

  return tallest;
}
function getTallest ( elements ) { let tallest = 0 ; for ( let i = elements . length - 1 ; i >= 0 ; i -- ) { if ( elements [ i ] . offsetHeight > tallest ) { tallest = elements [ i ] . offsetHeight ; } } return tallest ; }
Determine which element in an array is the tallest.
@param {ArrayLike<HTMLElement>} elements Array-like of elements.
@return {number} Height of the tallest element.
Determine which element in an array is the tallest .