Multiple declarations

Jeff Dyer jodyer at adobe.com
Thu May 1 16:12:55 PDT 2008


Works for me in the RI:

   >> var x = 10; var x = 20; print(x)
   20

As it should.

Jd

On 5/1/08 4:07 PM, Michael O'Brien wrote:

> Is the following valid?
> 
> 
> var x = 2
> var x = 3
> 
> 
> The ES4 RI prevents this. ASC redefines x.
> 
> What should this do?
> 
> Michael
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list