Re: Question on arrow function - if it is a bug or intentional in the spec ?

2013-10-01 Thread Allen Wirfs-Brock
On Oct 1, 2013, at 4:35 PM, Suresh Jayabalan wrote: > According to 14.2.1, the following arrow function expression should produce > an early error : > > x => {var x;} > > Here is the spec line that mandates this rule. While this scenario is allowed > in the regular functions (even in strict

Question on arrow function - if it is a bug or intentional in the spec ?

2013-10-01 Thread Suresh Jayabalan
According to 14.2.1, the following arrow function expression should produce an early error : x => {var x;} Here is the spec line that mandates this rule. While this scenario is all