David Herman wrote:
On Jan 6, 2014, at 8:10 AM, Brendan Eich<bren...@mozilla.com> wrote:
> To further constrain design (since design is mostly about leaving things
out), I will address the ES4-era |let (x = y, z = z /* outer z*/) ...| let blocks
and let expressions, which came up recently. We should not revive these, given do
expressions. do-exprs compose better with let and const (and other binding form)
declarations.
Fully agreed.
And as my example shows, this means there's no way of rebinding an inner
z whose initializer depends on an outer z. When you need that, you'll
need an arrow IIFE (IIAFE? AIIFE? yikes).
/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss