On Oct 29, 2014, at 6:59 AM, Andreas Rossberg <[email protected]> wrote:

> On 28 October 2014 17:38, Allen Wirfs-Brock <[email protected]> wrote:
>> Also I'll check if it's feasible to make it a runtime error for a global let 
>> to shadow a non configurable property of the global object.
> 
> Is there a reason why we cannot make it an error for any present
> property? Maybe that would even allow us to get rid of the VarNames
> list?

Perhaps, there is a legacy that requires that var/function declarations can 
over-write global object properties.  There is no particular reason that we 
have to allow this for let-like declarations.

Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to