Mark S. Miller (2015-02-04T14:41:13.000Z)
d at domenic.me (2015-02-17T18:02:31.945Z)
No it should not. "use string" and 'use strict' are specially recognized syntax. The *only* reason that they reuse the syntax of expression statements, rather than being, for example, use strict; without the quotes, is so this pragma would be ignored on older pre-ES5 browsers without causing the programs to break. It is not in any meaningful way string-like. `` `use strict` `` should no more be recognized that should `("use " + "strict")`.
d at domenic.me (2015-02-17T18:02:19.520Z)
No it should not. "use string" and 'use strict' are specially recognized syntax. The *only* reason that they reuse the syntax of expression statements, rather than being, for example, use strict; without the quotes, is so this pragma would be ignored on older pre-ES5 browsers without causing the programs to break. It is not in any meaningful way string-like. `use strict` should no more be recognized that should ("use " + "strict").