src/util/each.js
function reverse (arr) {
  const reversedArray = [];
  for (let i = arr.length - 1; i >= 0; i--) {
    reversedArray.push(arr[i]);
  }
  return reversedArray;
}
function reverse (arr) {
  const reversedArray = [];
  for (let i = arr.length - 1; i >= 0; i--) {
    reversedArray.push(arr[i]);
  }
  return reversedArray;
}
function reverse ( arr ) { const reversedArray = [ ] ; for ( let i = arr . length - 1 ; i >= 0 ; i -- ) { reversedArray . push ( arr [ i ] ) ; } return reversedArray ; }
Re-implemented to avoid Array.prototype.slice.call for performance reasons
Re - implemented to avoid Array . prototype . slice . call for performance reasons