// Firefox 1.0+
module.exports = {
  isFirefox: function () {
    return typeof InstallTrigger !== 'undefined'
  },

  // Internet Explorer 6-11
  isIE: function () {
    return !!document.documentMode
  },

  // Edge 20+
  isEdge() {
    return !this.isIE() && !!window.StyleMedia
  },

  // Chrome 1+
  isChrome: function () {
    return !!window.chrome && !!window.chrome.webstore
  }

  // Opera 8.0+
  // let isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0

  // At least Safari 3+: "[object HTMLElementConstructor]"
  // let isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0
}

// Firefox 1.0+
module.exports = {
  isFirefox: function () {
    return typeof InstallTrigger !== 'undefined'
  },

  // Internet Explorer 6-11
  isIE: function () {
    return !!document.documentMode
  },

  // Edge 20+
  isEdge: function() {
    return !this.isIE() && !!window.StyleMedia
  },

  // Chrome 1+
  isChrome: function () {
    return !!window.chrome && !!window.chrome.webstore
  }

  // Opera 8.0+
  // let isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0

  // At least Safari 3+: "[object HTMLElementConstructor]"
  // let isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0
}

Change es6 shorthand notation to es5 notation
Change es6 shorthand notation to es5 notation