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 :(
-
-
Replying to @hooraybuffer
If it was sticky, what would you need to do to go back to sloppy?
2 replies 0 retweets 3 likes -
Replying to @marjakh
There's no way to do that. You could use an eval :). Or we could add something (button or 'use sloppy'). You'd be stuck. But this is the same if you put 3 statements in the REPL vs. those 3 statements together in one REPL input.
4 replies 0 retweets 1 like -
Replying to @hooraybuffer
I meant more like.. is it enough to close and reopen dev tools on that tab? Do you need to reload the tab? Do you need to close that tab and open a new one?
1 reply 0 retweets 2 likes
Refreshing the page will do it. There's no way to clear the Context/s we've created. It gets awkward if a page script closes over e.g. a let introduced by a REPL script
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.