"use strict";
setTimeout(function() {"use strict";console.log(this)}, 1000);
The internal 'this' functions called by setTimeout must reference the global object, but I also have "use strict"; in organism. However, it writes a window instead of undefined, which I expected. What's going on here?
source
share