Proposal: `if-else` and `switch` as expressions
caitpotter88 at gmail.com
Thu Sep 29 03:15:52 UTC 2016
You might be interested in the "do-expressions" feature in v8. I'm not sure how much it's been discussed in the committee, but it's implemented (partially) in V8, so you could experiment with that. Not sure if it does what you want in the switch case, but maybe.
> On Sep 10, 2016, at 4:59 PM, Shelby Moore <shelby at coolpage.com> wrote:
> I was told to post this here.
> The proposal is nicely formatted over here:
> Please discuss and someone consider championing this change to EMCAScript.
> I won't be following discussion here, because I am not familiar with this
> discussion list.
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss