Do you fix JavaScript bugs on staging or live?
Staging first, always, if one exists. We reproduce the console error and validate the fix on a staging copy, then deploy to live. If you do not have a staging environment, we can spin up a quick clone or work carefully against live with a backup and a rollback plan agreed in advance. We never push an untested JavaScript change straight to your production checkout.