code: function initBrowser() {
    if (window.chrome) {
      Object.assign(module.exports, chromeConstants);
    } else {
      Object.assign(module.exports, braveConstants);
    }
  }
docs: do browser detection and assign constants to exported bindings.
  
  Should only happen once.