function _diff (arr) {
    const result = []
    const size = arr.length
    for (let i = 1; i < size; i++) {
      result.push(_ElementDiff(arr[i - 1], arr[i]))
    }
    return result
  }
Difference between elements in the array

@param {Array} arr      An array
@return {Array}         resulting array