Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

292
Views
Is it safe to remove "use strict" from a third party library

I am using a pretty terrible library on the front-end. In their installation instructions, they tell to copy-paste some code, that starts with "use strict". And yet their code throws an error in some old browsers.

I am tempted to simply remove the "use strict" instruction from the code I have copy-pasted.

Is it safe though? Can it lead to a change of behaviour for the end user, apart from being more flexible?

The MDN article about strict mode states that Strict mode isn't just a subset: it intentionally has different semantics from normal code: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!