Aside from the fact that using a non-reserved identifier would break
back-compatibility, I'm fairly certain pattern matching would allow for not
recalculating the value while also being far more readable.
On Tue, Nov 12, 2019, 21:43 devlato wrote:
> Hey folks,
>
> not sure if you haven't discuss
Hey folks,
not sure if you haven't discussed something similar, but what do you think
about making an enhancement for the ternary operator, to make it more powerful?
I've created a small explanatory doc on GitHub:
https://github.com/devlato/proposal-ternary-placeholder
Warmest regards,
Denis
About arrow functions/binding, it's just a principle, I try to never create
some function on-the-fly, I'm working only by immutable objects derivation.
But, ok, if no choice, I'll do that. ;)
___
es-discuss mailing list
es-discuss@mozilla.org
https://mai
3 matches
Mail list logo