Till Schneidereit (2014-12-18T18:32:21.000Z)
d at domenic.me (2015-01-05T20:40:21.305Z)
Strict mode is a static, compile-time setting, not something that can be modified at runtime. Hence, your suggestion falls short, because it would be a runtime setting. the reason why a "floating string" was used is to not introduce syntax that older engines would trip over. Something like `use strict` (without the quotes) would cause that. You might say that `scope.set` would only be allowed at compile time or something, but that would be problematic both because it's not backwards-compatible (what if code uses a collection called "scope"?) and because it's not distinguishable from normal code. Also, "use strict" has been around for years and nothing will ever get it removed/replaced, anymore.