In the JS Engine of a browser console such as the browser console of Google Chrome, the Strict mode is turned off by default unless you explicitly put the “use strict” directive.
But in an IDE like the VSCode, it seems like the execution happens in the Strict mode by default. How do you turn that off in VSCode?
I looked up the Settings of the IDE, but could not find anything related to the execution.