On Tue, Apr 19, 2011 at 11:52 AM, Brendan Eich <bren...@mozilla.com> wrote:

> So ASI does *not* change program behavior from non-error behavior A to
> non-error behavior B. It instead suppresses early SyntaxError with
> successful evaluation, in a deterministic way.


Is that true even in the "return \n expression" case?  It certainly seems to
be not an error before or after ASI, yet the result is quite different.

-- 
John A. Tamplin
Software Engineer (GWT), Google
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to