domenic at domenicdenicola.com (2014-10-15T18:43:38.438Z)
Jason Orendorff wrote: > I think there is a way that the error could occur at runtime even in > all-strict-mode code: when a new const is added at toplevel in a > second script. Right. Need a complete semantics: static and runtime. News at 11.
Right. Need a complete semantics: static and runtime. News at 11, /be Jason Orendorff wrote: > I think there is a way that the error could occur at runtime even in > all-strict-mode code: when a new const is added at toplevel in a > second script. > > <script> > "use strict"; > function f(value) { x = value; } > </script> > <script> > "use strict"; > const x = 0; > f(1); > </script> > > -j