On 01.01.2011 13:42, Dmitry A. Soshnikov wrote:
On 01.01.2011 4:01, Garrett Smith wrote:
On 12/31/10, fernando trasvina<[email protected]>  wrote:


why this is not treated the same way as:

function(x){}(1);

That is a SyntaxError. The most recent message on this thread (mine),
explains that the production for ExpressionStatement explicitly
forbids an ExpressionStatement to begin with the function keyword.


Garret,

Ben Allan


Whoops :D Two name typos, sorry (it's the 1st of January, you know ;). Garrett. Ben Alman.

Dmitry.

--
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to