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 -
Also eventually module should become the default - and it would be awesome if you could import in the console (or would it? Hash tag security risk)
1 reply 0 retweets 0 likes
Replying to @davidmarkclem @bmeurer
Module by default sounds cool, but stops users doing x = 7 which is a bit annoying if you just want a variable.
4:52 AM - 20 Sep 2019
0 replies
0 retweets
1 like
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.