Hello.
Question 1: Do people want it? Do TC39 plan to have it in ES.next?
Question 2: If yes and yes, what form is preferrable?
(below I show all value-producing code-block structures grouped)
- lambda blocks?
function (x) { return this.plain_dynamic; }
x => this.bound(x)
{|| /*TCP*/ return this.bound_result; }
{|y| /*TCP*/ if (a < y) return; a += y }
do { while (x % 2 === 0) { x /= 2; } x }
- parametrized do expressions?
function (x) { return this.plain_dynamic; }
x => this.bound(x)
do () { /*TCP*/ return this.bound_result; }
do (y) { /*TCP*/ if (a < y) return; a += y }
do /*immediately*/ { while (x % 2 === 0) { x /= 2; } x }
- something else?
Herby
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss