code: function (userAgent) {
              var userAgentWrapper = ariaCoreBrowser.init(userAgent);
  
              this.__userAgentWrapper = userAgentWrapper;
  
              /* BACKWARD-COMPATIBILITY-BEGIN (GitHub #1397) */
              this._ua = userAgentWrapper.ua;
              this.__ensureDeprecatedProperties();
              /* BACKWARD-COMPATIBILITY-END (GitHub #1397) */
  
              return userAgentWrapper;
          }
docs: /* BACKWARD-COMPATIBILITY-END (GitHub #1397) 
  Makes the class work with the given user agent.
  
  <p>
  If no user agent is given, current browser's one is taken.
  </p>
  
  @param {String} userAgent The user agent to take into account in this class
  
  @return {Object} The user agent wrapper used to compute the properties (see <em>aria.core.useragent.UserAgent.getUserAgentInfo</em>)