getRelativeValue = (x, y, operator) => {
  return operator === '-' ? x - y :
         operator === '+' ? x + y :
         x * y;
}
@param  {Number} x
@param  {Number} y
@param  {String} operator
@return {Number}