Re: Extensions in ES5 strict mode

2010-10-14 Thread Waldemar Horwat
On 10/14/10 08:11, Brendan Eich wrote: On Oct 13, 2010, at 11:56 PM, Erik Corry wrote: The semantics for const in Harmony are likely to be silently different in Harmony from the semantics it has in non-strict current implementations. (In particular the current const is hoisted to the surroundi

Re: Extensions in ES5 strict mode (was: No more modes?)

2010-10-14 Thread Brendan Eich
On Oct 14, 2010, at 12:23 PM, Erik Corry wrote: > 14. okt. 2010 17.11 skrev Brendan Eich : >> Flush out means make developers find all such uses, and do what? > > Replace them with var, making whatever other changes are needed to > keep the program running. Most developers I know are not going t

Re: Extensions in ES5 strict mode (was: No more modes?)

2010-10-14 Thread Brendan Eich
On Oct 13, 2010, at 11:56 PM, Erik Corry wrote: > The semantics for const in Harmony are likely to be silently different > in Harmony from the semantics it has in non-strict current > implementations. (In particular the current const is hoisted to the > surrounding function, whereas the one in Ha

Re: Extensions in ES5 strict mode (was: No more modes?)

2010-10-14 Thread Erik Corry
My thoughts for what they are worth: The semantics for const in Harmony are likely to be silently different in Harmony from the semantics it has in non-strict current implementations. (In particular the current const is hoisted to the surrounding function, whereas the one in Harmony won't, so the

Extensions in ES5 strict mode (was: No more modes?)

2010-10-13 Thread Brendan Eich
On Oct 13, 2010, at 5:35 PM, Brendan Eich wrote: > On Oct 13, 2010, at 4:31 PM, Mark S. Miller wrote: >> * ES5/strict implementations as deployed in non-beta releases should obey >> . >> If they don't, then eith