I am running this piece of code and the firefox is giving error
Uncaught ReferenceError: browser is not defined
const manifest = browser.runtime.getManifest();
So far I've tried using this:
var browser = browser || chrome;
Still in this, firefox is throwing a new error that is
Chrome is not defined