Bill Frantz (2014-08-07T00:46:35.000Z)
domenic at domenicdenicola.com (2014-08-15T22:48:33.957Z)
On 8/5/14 at 8:05 AM, erights at google.com (Mark S. Miller) wrote: >Because of compatibility constraints, JS history can generally proceed only >in an additive manner, which means a steady degradation of quality along >the "simplicity" dimension. An opt-in mode switch is the only way to escape >that dynamic. Strict mode is the only one we've got, and the only one we're >likely to have in the foreseeable future. Strict mode should not accept >octal literals. Regarding sloppy mode, it continues to exist only for the >sake of legacy compat, so adding more crap to it for better web compat is >the right tradeoff -- as long as the crap stays quarantined within sloppy >mode. So this horrible footgun, changing the value of a constant changes its radix, is only lurking in sloppy mode.