Accidentally invented a new feature. Should the JS console/REPL in DevTools stay in strict mode (for later evaluations) if you set it once? It doesn't currently :(
-
-
So you lose the injected console APIs like debug()
-
Not sure what you mean - this still prints the debug object: "use strict"; (0, eval)('console.log(debug)') Or do you mean something else?
- 10 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.