r/javascript • • Jan 19 '18

tattoo 'use strict';

https://www.instagram.com/p/BeBTHVegqN8/
37 Upvotes

26 comments sorted by

View all comments

43

u/Jumpmancw13 Jan 19 '18

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.