I am developing a lib currently, which is relying on arguments.callee.caller
. This is not compatible with "use strict"
, so it throws an error when the caller function was defined in strict mode. I catch those errors, they does not really matter, since the important part is not defined in strict mode. Is there an environment which supports only strict mode, and so is not compatible with this lib?
Is there an environment which supports only strict mode?
You can configure Node.js to do that, see Any way to force strict mode in node?:
node --use_strict