Brendan Eich wrote:
LeftHandSideExpression ?= AssignmentExpression

are roughly

Let lref = evaluate A.
Let lval = GetValue(lref).
Let rref = evaluate B.

Of course, A should be LeftHandSideExpression and B should be AssignmentExpression.

This is pretty simple. We could even grant an exception and get it into ES6, IMHO. But first it needs a strawman and some discussion.

Absent fast objections here, I'll co-opt the

http://wiki.ecmascript.org/doku.php?id=strawman:default_operator

strawman and put it on the agenda.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to