KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Nearly all my JS files are wrapped in anonymous functions. If I include "use strict"; outside the anonymous function, is strict mode still applied to the anonymous function? For example, is strict mode applied to the inner body of the anonymous function in the script below: "use strict"; (function() { // Is this code running under strict mode? })();
Tags (comma-separated)
Save Edits
Cancel