function removeEventListeners(el, eventName, handlers) {
  if (!handlers) {
    return;
  }

  if (handlers.constructor === Function) {
    handlers = [handlers];
  }

  for (var i = 0; i < handlers.length; i++) {
    el.removeEventListener(eventName, handlers[i]);
  }
}

export default removeEventListeners;