On Wed, Aug 7, 2013 at 6:21 PM, Allen Wirfs-Brock <al...@wirfs-brock.com>wrote:
> I'm not sure where that analysis came from? As far as I know there were no > such changes in ES5.1 and the ES5.1 grammar clearly allows a function call > to appear on the LHS of an assignment. > I got it from https://code.google.com/p/esprima/issues/detail?id=81#c19, maybe I should have dug deeper to confirm it... > In addition, functions are no longer allowed to return Reference values. > I don't see us changing the latter, so it comes down whether the error is > reported as an early syntax error or a runtime TypeError. > Probably what the bug is about. - peter
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss