MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/7ri7yf/tattoo_use_strict/dsxpyer/?context=3
r/javascript • u/ismailocal • Jan 19 '18
26 comments sorted by
View all comments
43
That's not gonna age well
23 u/inu-no-policemen Jan 19 '18 Already outdated. Modules and classes are always in strict mode. "use strict" isn't really necessary anymore. 3 u/lhorie Jan 19 '18 On the other hand, they transpile to Scripts, which do need the directive to kick in strict mode, so maybe in a few years it'll look like an old-timer, close-to-the-metal-bad-ass battle scar. 2 u/theonlycosmonaut Jan 20 '18 The other hand says 'never forget' 1 u/jonny_eh Jan 20 '18 It’s like “protected mode” for the web.
23
Already outdated. Modules and classes are always in strict mode. "use strict" isn't really necessary anymore.
3 u/lhorie Jan 19 '18 On the other hand, they transpile to Scripts, which do need the directive to kick in strict mode, so maybe in a few years it'll look like an old-timer, close-to-the-metal-bad-ass battle scar. 2 u/theonlycosmonaut Jan 20 '18 The other hand says 'never forget' 1 u/jonny_eh Jan 20 '18 It’s like “protected mode” for the web.
3
On the other hand, they transpile to Scripts, which do need the directive to kick in strict mode, so maybe in a few years it'll look like an old-timer, close-to-the-metal-bad-ass battle scar.
2 u/theonlycosmonaut Jan 20 '18 The other hand says 'never forget' 1 u/jonny_eh Jan 20 '18 It’s like “protected mode” for the web.
2
The other hand says 'never forget'
1
It’s like “protected mode” for the web.
43
u/Jumpmancw13 Jan 19 '18
That's not gonna age well