3 ms·
Wouldn't a pipeline operator [1] be a more interesting solution for this instead of adding syntax that relies on the `this` keyword? [1] https://github.com/min
by sebdd 10y ago
Wouldn't a pipeline operator [1] be a more interesting solution for this instead of adding syntax that relies on the `this` keyword?
[1] https://github.com/mindeavor/es-pipeline-operator https://github.com/mindeavor/es-pipeline-operator
- the_gipsy 10y agoYes! Elm has it and it's very nice.
- qwertyuiop924 10y agoNo. Pipelining is handy, but not necessary. This binding is a well-known pain point in JS.