It is a compile-time error to have a var declaration to conflict with or
shadow a block scope declaration.
 On Feb 14, 2015 1:31 PM, "Boopathi Rajaa" <legend.r...@gmail.com> wrote:

> http://jsbin.com/quvujecuro/5/edit?html,js,console
>
> Is it the problem with implementation or am I doing something wrong here
> in terms of philosophy that redeclaring should throw independent of
> try..catch block around it ?
>
> - Boopathi
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to