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 @bmeurer
I think a “mode” dropdown selection the console: Strict Sloppy Module Since module context is similar but not quite the same behaviour as strict mode
2 replies 0 retweets 6 likes
Replying to @davidmarkclem @bmeurer
Cool idea. We would need to figure out what happens if you select e.g. sloppy and then write 'use strict' - does it change the dropdown permanently or only for that input? And other interactions like that.
4:54 AM - 20 Sep 2019
0 replies
0 retweets
2 likes
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.