When creating a browser extension you probably want to publish it for every major browser.
The APIs used inside the extension to communicate with the different browsers are mostly the same but the root element used to access them may have a different name. In Firefox it's named browser, in Chrome it's named chrome and in Edge it's named msBrowser.
So you might want to use this little snippet to get the correct one ;)

