code: function (browsers, userAgent) {
        return detect(browsers, userAgent).map(function (browser) {
          var version = Version.detect(browser.versionRegexes, userAgent);
          return {
            current: browser.name,
            version: version
          };
        });
      }
docs: They (browser and os) are the same at the moment, but they might not stay that way.