in reply to Re: scope of "use strict"? (needed: "superstrict")
in thread scope of "use strict"? (needed: "superstrict")
I don't fully understand why you would want to force modules to be compiled under strictures when they weren't designed to do so.
call it, "chasing a hunch." It's not my code I'm debugging, it's someone else's, and while I can easily "fix" some of his programming errors, I'm still trying to determine if those errors are the cause for other erratic problems going on.... like variable stomping, etc. So, I want to leave the errors in place and follow other sources to see what they do, and what the effects are. Note that it's not just determining "if" there's a bug, but finding "who" is doing the stomping? A quick examination of the "use strict" output could yield some instantly obvious results since I have an idea of what I'm looking for. Sometimes, it isn't enough to just fix a bug, it's finding out how far and wide its effects are before its fixed that can reveal other useful info one might not have expected.
With some variations on your excellent script, I think I might find the very culprit I'm looking for.
|
---|