lib/js/components/browserConstants.js
function initBrowser() {
  if (window.chrome) {
    Object.assign(module.exports, chromeConstants);
  } else {
    Object.assign(module.exports, braveConstants);
  }
}
function initBrowser() {
  if (window.chrome) {
    Object.assign(module.exports, chromeConstants);
  } else {
    Object.assign(module.exports, braveConstants);
  }
}
function initBrowser ( ) { if ( window . chrome ) { Object . assign ( module . exports , chromeConstants ) ; } else { Object . assign ( module . exports , braveConstants ) ; } }
do browser detection and assign constants to exported bindings.

Should only happen once.
do browser detection and assign constants to exported bindings .