-- Forwarded message --
From: Brendan Eich bren...@mozilla.com
To: raul mihaila raul.miha...@gmail.com
Cc: es-discuss es-discuss@mozilla.org
Date: Wed, 25 Dec 2013 13:44:21 -0500
Subject: Re: Fwd: local variables with inherited values
That's unusual -- why would it
raul mihaila wrote:
I am beginning to like the syntax from ES4. I suppose it would work
with multiple variables as well.
let (x = x, y = y, z = x + y /* maybe would work? */) {
}
Yes, ES4 let expr/block works with multiple declarators in a
comma-separated list in the head. Perhaps
2 matches
Mail list logo